Random integers have no place in high quality AI. A correct AI should use knowledge and precepts to always judge the best course of action. Random integers are often used to introduce variance for replayability (make stuff less predictable) or short cut function complexity rather than actually be smart. Truly intelligent beings are not a random number source, as such if the lack of predictability is what they desire they often resort to pseudo random techniques to simulate it. Most real cases have no use of truly random numbers as instead intelligence is used to try and guess the opponents response and make a more suitable action.
Although probabilities are often used with regard to AI development they are more like desirability factors than statistical probability.
From a game play perspective "dumb AI" is often a desirable thing. If your AI was truly intelligent then chances are it will out perform most humans (as it passes the Turning Test). People will complain and quit eventually as they will get very annoyed that the computer is better than they are. This is why games like Diablo III and Final Fantasy use practically no AI and instead heavily use random numbers in their decisions. In the end you want a product that is fun and to achieve that it might require you to purposely under-develop AI.
A good example would the capture the artefact campaign mission in WoL where you have to race the Zerg to it. Proper Protoss AI in it would simply grab all units on your lane and attack move them to your base right at the start where you have as good as no ability to defend yourself. The result is the AI will always win and as such it could be deemed smart. Instead they choose the stupid route by simply placing bullies along the way. From an AI perspective this is retarded as those units should attack and not stand at arbitrary places however from a gameplay perspective it made the mission challenging as you have limited time and resources and tech to push through some tough stuff.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Random integers have no place in high quality AI. A correct AI should use knowledge and precepts to always judge the best course of action. Random integers are often used to introduce variance for replayability (make stuff less predictable) or short cut function complexity rather than actually be smart. Truly intelligent beings are not a random number source, as such if the lack of predictability is what they desire they often resort to pseudo random techniques to simulate it. Most real cases have no use of truly random numbers as instead intelligence is used to try and guess the opponents response and make a more suitable action.
Although probabilities are often used with regard to AI development they are more like desirability factors than statistical probability.
From a game play perspective "dumb AI" is often a desirable thing. If your AI was truly intelligent then chances are it will out perform most humans (as it passes the Turning Test). People will complain and quit eventually as they will get very annoyed that the computer is better than they are. This is why games like Diablo III and Final Fantasy use practically no AI and instead heavily use random numbers in their decisions. In the end you want a product that is fun and to achieve that it might require you to purposely under-develop AI.
A good example would the capture the artefact campaign mission in WoL where you have to race the Zerg to it. Proper Protoss AI in it would simply grab all units on your lane and attack move them to your base right at the start where you have as good as no ability to defend yourself. The result is the AI will always win and as such it could be deemed smart. Instead they choose the stupid route by simply placing bullies along the way. From an AI perspective this is retarded as those units should attack and not stand at arbitrary places however from a gameplay perspective it made the mission challenging as you have limited time and resources and tech to push through some tough stuff.