Original Post
Hey guys...i m working on a 2-player car racing game through a maze. I'm more focused on the AI part rather than the graphics. To solve the AI I'm using the AB pruning which so far hasn't given me
any problems. However I was wondering what could be the best evaluation function that could be used in a 2-player game involving a maze with the players being able to put obstacles in their opponent's path.
At the moment, I was just thinking about a simple heuristic involving the distance between the players and distance between the finish point and the current position of the player.
Can u guys suggest some commonly used evaluation functions?
any problems. However I was wondering what could be the best evaluation function that could be used in a 2-player game involving a maze with the players being able to put obstacles in their opponent's path.
At the moment, I was just thinking about a simple heuristic involving the distance between the players and distance between the finish point and the current position of the player.
Can u guys suggest some commonly used evaluation functions?