From dd3d84dc02d7d7fc782fe2734b9ab6fd028b1346 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Mon, 12 Mar 2018 12:27:19 +0100 Subject: Fix comments --- board.cpp | 4 ++-- 1 file 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()) { -- cgit v1.2.3-70-g09d2