quote:Original post by dointhings
I have no clue what you are talking about when you refer to "AI". That has not been addressed in our class yet either. Could you elaborate on this topic?
I''ll help. "AI" is the formal (though often colloquially used) term for a program or piece of code that a) simulates intelligent behavior (often in a limited context); or b) can be consider "conscious" - capable of learning and extrapolating information (from which it may in turn learn more) from any inputs it is given, amongst other attributes. The first term is what is more commonly referred to as the second is still more of an experimental science.
In a game where the player (user) competes against or faces simulated opposition from the computer, the term AI refers to the set of algorithms that determine the response offered by the computer. In this case, how the computer selects which cards to keep or discard, what hand to hope for, whether to "bluff" and so forth. In many cases, the simulation of behavior is reduced to randomized selection among cases of given probability of occurence. For example, say we played a pick a color (out of 3 possible colors - red, green and blue) game, and 4 out of 10 times I chose blue (say it was my favorite color), while I chose red and green 3 out of 10 times each. Then to simulate my choosing patterns, you would need to psuedorandomly select blue 40% of the time. A common method of selection is the C/C++ code below:
int choice = rand() % 10;// we''ll assume all numbers have an equal possibility of occurenceif (choice < 4){ // select blue; // choice is 0 - 3}if (choice < 7){ // select red; // choice is 4 - 6}else{ // select green; // choice is 7 - 9}
I hope that was useful information. Ai will not be a part of your curriculum, because artificial intelligence is not language specific. It is a computer science topic that involves behavioral scientists at times, as well as linguists (natural language sythesists), sociologist and so forth.
I wanna work for Microsoft!