chessai
college code for ai playing chess in java
git clone https://9o.is/git/chessai.git
commit e4df84ff35d8e790dfc16a9543f33f76bcda6cbf parent 906f4c5401515d68be0bb302f093a871eb1e27f9 Author: Jul <jul@9o.is> Date: Sat, 1 Dec 2012 16:40:23 -0500 Prints the move if it's not valid. Diffstat:
| M | src/chess/ChessBoard.java | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/chess/ChessBoard.java b/src/chess/ChessBoard.java @@ -75,7 +75,8 @@ public class ChessBoard { rules.applyCaptureRule(); board.move(coor, coor1); moves++; - } + } else + System.err.println("Move: "+coor+coor1); } //CHECK