From c04f179b9902532a8d5db0c2ebd98460a70fc652 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 26 Jul 2026 14:10:48 +0200 Subject: making repl work --- src/main.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') 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 #include #include @@ -7,9 +9,6 @@ #include #include -#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; } -- cgit v1.2.3