-
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…
-
Stupid Moves Checker

Huo Chess Update In the ComputerMove function, there is a code segment checking the ‘stipidity’ of the move analyzed. if ((Number_of_attackers[(m_FinishingColumnNumber – 1), (m_FinishingRank – 1)] >= 1) && (Value_of_attackers[(m_FinishingColumnNumber – 1), (m_FinishingRank – 1)] < ValueOfMovingPiece)){ ThiisIsStupidMove = “Y”;} Proposed improvement in v0.9923: Check not only if number of attackers is more than 1…
-
AI. Chess. The Human Element.

In a recent chess match during the Candidates tournament, a player – Hikaru – took more than 60 minutes to think on a single move. There were two possible moves that were playable at the position. After more than an hour thinking, Hikaru chose the wrong one and he eventually lost the game. After the…