Author: Jari Huikari
Date: 05:09:49 11/25/99
Go up one level in this thread
On November 24, 1999 at 16:54:36, Dan Newman wrote: >The first chess program I wrote (about 4 years ago) generated only legal >moves. Initially 80% of the cpu time was taken by the in-check detection >code. 1. When in-check not used and illegal move tried: Program sees that king will be captured, and king-capture gives penalty of 10000 points? Or what? 2. Is in-check necessarily so slow? How do you detect it? I do this still very crudely, but I think there is many helping rules, that one can conclude that certain moves can't be illegal. Jari
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.