diff options
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 22 |
1 files changed, 0 insertions, 22 deletions
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 <cstdint> #include <vector> -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<Move> GetLegalMoves(board *b); Position IndexToPosition(int i); void GenerateSlidingMoves(board *b, int from, |
