Author: Michael J Sherwin
Date: 19:18:59 02/16/06
Go up one level in this thread
On February 16, 2006 at 19:45:37, Sean Mintz wrote: >Michael, > >Maybe I am just not thinking hard enough, but I do not understand how you manage >without an "inCheck" function. > >It sounds like you are generating moves twice just to find out if a king is >being checked. Am I getting this right? > >By the way, your program "Godzilla" runs _unbelievably_ fast. I have not been >able to recompile any of the "Early Work" programs, though (with GCC, I am in >the process of getting Intel's compiler). > >Thanks, > >Sean Hi Sean, The moves are only generated once. Carnivor does not have a check extension. If when the moves are generated for the next ply the enemy king is able to be captured the generator imediatly exits with FALSE. RomiChess also works this way, but, also has an inCheck function for other reasons. Best, Mike
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.