Computer Chess Club Archives




Subject: Fast check detection in bitboard engine

Author: Romang Jean-Francois

Date: 09:54:13 12/10/03


Is there a fast technique to detect that a king is in check in a bitboard engine
? In my engine I generate all capture moves and try them to see if the king can
be captured...but this seems very slow !

I use check detection mainly in two parts of the engine :
- During move generation to avoid generating illegal moves
- To activate check extensions

Is there a way to avoid check detection during move generation ?

Thank you :)

This page took 0.03 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.