Category: Check Move function
-
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…