just count the number of pieces each side has. If the computer is playing white and a certain board position has 11 white pieces and nine black pieces, the simplest evaluation function might be: 11 - 9 = 2 Obviously, for chess that formula is way too simple, because some pieces are more valuable than others. So the formula might apply a weight to each type of piece. As the programmer Cleburne broadband , Cleburne, TX broadband CleburneCleburne , broadband Texas, Cleburne broadband
broadband Cleburne |