summaryrefslogtreecommitdiff
path: root/move.h
diff options
context:
space:
mode:
Diffstat (limited to 'move.h')
-rw-r--r--move.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/move.h b/move.h
new file mode 100644
index 0000000..ddad16f
--- /dev/null
+++ b/move.h
@@ -0,0 +1,12 @@
+#include <string_view>
+
+using namespace std;
+
+
+class Move {
+public:
+ int from, to;
+ int castle; // -1: queen's side; 1: king's side; 0: none
+
+ Move(const char *str);
+};