aboutsummaryrefslogtreecommitdiff
path: root/src/moves.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/moves.hpp')
-rw-r--r--src/moves.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/moves.hpp b/src/moves.hpp
new file mode 100644
index 0000000..fae35b1
--- /dev/null
+++ b/src/moves.hpp
@@ -0,0 +1,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_ */