Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: move generator bug

Author: Sean Mintz

Date: 08:10:20 02/20/06

Go up one level in this thread


Thanks to everyones suggestions and advice, I was able to fix the bug.  The
problem was not my move generator, but rather my "in check" function.  In _very_
rare cases it would say that a king was in check when it was not.

When using an 0x88 board representation, always make sure that a piece is
_actually_ on the board.

Doh.

Sean



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.