Skip to content
Chess Programming

Chess Programming

Chess programming for absolute beginners!

  • Chess-programming Main Page
  • About
  • Privacy Policy
  • Check for checks bug fix

    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…

    skakos

    August 20, 2026
    bug, Huo Chess
    bug, chess program, Huo Chess
  • Stupid Moves Checker

    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…

    skakos

    July 21, 2026
    Check Algorithm, Check Move function, Huo Chess
    check move, chess algorithm, Chess programming
  • AI. Chess. The Human Element.

    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…

    skakos

    May 24, 2026
    artificial intelligence
    AI, artificial intelligence, chess, chess computers, games
1 2 3 … 13
Next Page→

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Chess Programming
    • Already have a WordPress.com account? Log in now.
    • Chess Programming
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar