Sunday, February 27, 2011

AI for Target Number Game Using Genetic Algorithm - CodeProject

Sounds interesting:

Target Number Game

In this game player has task to find mathematical expression whose value is closest to randomly choosen value using only basic operations and predefined set of numbers. The game has other restrictions: all intermediate results and final result must be positive integer number. Additional restrictions are also placed on selected and target numbers. Player gets 4 random numbers between 1 and 9, one number from { 10, 15, 20 } set and one from { 25, 50, 75, 100 } set. Target number is randomly chosen from interval [100,999]. Player can use selected numbers only once. Who ever has expression with the closest number to the target wins and if they are tie, player who was choosing the numbers wins.

AI for Target Number Game Using Genetic Algorithm - CodeProject
Enhanced by Zemanta

No comments: