diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index bea30b0..d59195d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,5 @@ +#include "board.hpp" +#include "moves.hpp" #include <algorithm> #include <cctype> #include <cstdint> @@ -7,9 +9,6 @@ #include <string> #include <vector> -#include "board.hpp" -#include "moves.hpp" - Piece NonePiece = { false, NONE, @@ -123,6 +122,10 @@ int main(int argc, char **argv) { continue; } std::println(); + PlayMove(move, &b); + b.MoveClock++; + b.turn = !b.turn; + printBoard(&b); } return EXIT_SUCCESS; } |
