aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorzedarider <ymherklotz@gmail.com>2016-11-09 01:43:52 +0000
committerzedarider <ymherklotz@gmail.com>2016-11-09 01:43:52 +0000
commit418b9ff72f3010d7f3f07cb28a7e12808650d701 (patch)
treeca522d89cfd1c6f18ebda1c9a8ed41bcf361d927 /src/main.cpp
parentc57aed1a546f0dc0a6efcb06d10125e2dbd34d60 (diff)
downloadChessAI-418b9ff72f3010d7f3f07cb28a7e12808650d701.tar.gz
ChessAI-418b9ff72f3010d7f3f07cb28a7e12808650d701.zip
added movement to pawn
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b41c919..d946343 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -25,6 +25,14 @@ int main(int argc, char** argv) {
board.set_piece(piece);
board.print_board();
+
+ board.remove_piece(5, 3);
+
+ board.print_board();
+
+ board.move_piece(4, 6, 4, 5);
+
+ board.print_board();
return 0;
}