"bad." The way it does this is by using an evaluation function. The simplest possible function might 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 Crawfordsville 56k , Crawfordsville, IN 56k CrawfordsvilleCrawfordsville , 56k Indiana, Crawfordsville 56k
56k Crawfordsville |
|
 |
|