Author: Gerd Isenberg
Date: 11:25:07 05/03/05
Go up one level in this thread
On May 03, 2005 at 13:56:29, Kevin K wrote: >What I mean escape from check is "in check situation." Are there other situations to escape from check? You have to take care of check in qsearch. You may skip eval - you may initialize score with -oo or something less alfa. A separate move generator makes sense as well. If there are captures they will often cut or improve alfa. If, after all captures (if any), score is still <= alfa, you should try (probably generated in a second movegen pass) quite moves out of check as well. One may write an own incheck-qsearch routine for that to keep code clear. One may use the usual inCheck search-routine of full search as well, eventually with some rare conditional jumps on depth <= 0 or similar. Gerd
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.