[gnome-games] glchess: typo in board.py
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] glchess: typo in board.py
- Date: Fri, 11 Jun 2010 01:15:28 +0000 (UTC)
commit 885cbdf6cafb8dcb457baac11be26b391fdc2f29
Author: Robert Ancell <robert ancell gmail com>
Date: Fri Jun 11 11:15:20 2010 +1000
glchess: typo in board.py
glchess/src/lib/chess/board.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glchess/src/lib/chess/board.py b/glchess/src/lib/chess/board.py
index 3fde47b..9e5ba74 100644
--- a/glchess/src/lib/chess/board.py
+++ b/glchess/src/lib/chess/board.py
@@ -430,7 +430,7 @@ class ChessBoardState:
blackBishopCount += 1
# Three knights versus king can checkmate
- if whiteKnightCount > 2 or blackKnightCount > 2
+ if whiteKnightCount > 2 or blackKnightCount > 2:
return True
# Bishop and knight versus king can checkmate
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]