summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/board.cpp b/board.cpp
index b72ac5f..69a7094 100644
--- a/board.cpp
+++ b/board.cpp
@@ -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()) {