Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Movegenerator and prevent check

Author: William H Rogers

Date: 08:32:26 06/13/99

Go up one level in this thread


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



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.