Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Movegenerator and prevent check

Author: Dave Gomboc

Date: 19:39:31 06/13/99

Go up one level in this thread


On June 13, 1999 at 11:32:26, William H Rogers wrote:

>I see if the king is in check after making each move, if so I reject the move,
>if not I add it to the move list. This is not the way most people do it though.
>When I finally figure out how they discover this during play, then I will change
>the way I do it, but for now I keep it simple(?)
>Bill

Simple is just capturing the king in the search and backing up a mate score. :-)

Dave



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.