diff options
-rw-r--r-- | board.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -316,7 +316,7 @@ bool Board::isValid(const Move &mv) const { } CheckResult Board::checkCheck(int player) const { - // First check 'check' (p), then check if we have 'check' after any move (q). + // First check 'check' (p), then check if we have 'check' after every move (q). // p | q | Result // 0 | 0 | safe // 0 | 1 | stalemate @@ -335,7 +335,7 @@ CheckResult Board::checkCheck(int player) const { } } - // Then check if we have 'check' after any move + // Then check if we have 'check' after every move bool haveQ = true; B1.onTurn = player; for (const Board &B2 : subsequents()) { |