Author: Andrew Williams
Date: 08:55:44 06/13/03
Go up one level in this thread
On June 13, 2003 at 11:11:18, Sam Hendley wrote: >I am rewriting the AI for a chess game and I need some help on fixing the >function that evaulates the board postion. Currently all it does is check to see >if the pieces still exist and add XXX many to the score. As you can guess this >AI is pathetic, my task is make it better but I dont really have the time to >make this into an amazing chess engine. I want to know what you guys would >consider as being fundamental to creating a passable computer player. I am >already planning to add a function that counts spaces controled, adds more >points for pieces that are protected, gives more points to non-pawns depending >on how far they can move. What else should I consider adding? What I really >want is to find some concerate point values becasue tuning this thing is going >to be very difficult. The language I am using is java (ugh) and the target >device is a mobile device (double ugh) so I really need to keep the computation >to a minimum but I am confident people will wait a few seconds for a competent >computer player. Thanks in adavance for whatever help you guys can offer. >Sam In no particular order: 1. Encourage the King to castle but... 2. Penalize missing pawns in front of the castled king 3. Encourage your minor pieces to get into the game (hopefully somewhere central), or... 4. Encourage your pieces (especially the Queen) to "gravitate" towards your opponent's King These won't make your program great, but they will make it more interesting to play against. AW
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.