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/moves.hpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/moves.hpp') diff --git a/src/moves.hpp b/src/moves.hpp index 5f893ca..d99fc68 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -2,30 +2,8 @@ #define SRC_MOVES_H_ #include "board.hpp" -#include #include -struct Position { - uint8_t rank; - uint8_t file; - - bool operator==(const Position &) const = default; -}; - -struct Move { - Position From; - Position To; - - bool operator==(const Move &) const = default; -}; - -enum MoveResult { - SUCCES, - FRIENDLY_PIECE, - PIECE_IN_WAY, -}; - -MoveResult PlayMove(Move move, board *b); // TODO implement std::vector GetLegalMoves(board *b); Position IndexToPosition(int i); void GenerateSlidingMoves(board *b, int from, -- cgit v1.2.3