diff options
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/moves.hpp b/src/moves.hpp index 7e95910..d99fc68 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -2,26 +2,8 @@ #define SRC_MOVES_H_ #include "board.hpp" -#include <cstdint> #include <vector> -struct Position { - uint8_t rank; - uint8_t file; -}; - -struct Move { - Position From; - Position To; -}; - -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, |
