Tag: bug
-
Check for checks bug fix

Huo Chess – Fix on checking for checks The most interesting and annoying bugs are the obvious ones. When the computer starts analyzing the current situation, the code checks for the existence of checks in the chessboard. This check for checks is performed via the function called ‘CheckForWhiteCheck’ (for white) or ‘CheckForBlackCheck’ (for black). The…
-
The terror of debugging a chess program (and the unexpected benefits…)
Goal The goal of this article is to provide an overview of how a chess program can be debugged when a problem occurs. The Huo Chess program is used for this tutorial – the program used anyway for all tutorials in this site. About Huo Chess Check Huo Chess – Chess programming learning tutorials for details…