1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef SRC_MOVES_H_ #define SRC_MOVES_H_ #include "board.hpp" #include <cstdint> struct Position { uint8_t rank; uint8_t file; }; struct Move { Position From; Position To; }; void PlayMove(Move move, board *b); // TODO implement #endif /* SRC_MOVES_H_ */