aboutsummaryrefslogtreecommitdiff
path: root/src/repl.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-26 19:16:57 +0200
committerAdam <adammegarules1@gmail.com>2026-07-26 19:16:57 +0200
commit7e8d89f357aaf8d8a6148ef051752dd53eb0285f (patch)
treeb169dcc4e0bc00bc2bb39c9c4b6ced2d3f518864 /src/repl.hpp
parenta8b482443dca91f6410a60e9023c6d9dd853b400 (diff)
adding repl
Diffstat (limited to 'src/repl.hpp')
-rw-r--r--src/repl.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/repl.hpp b/src/repl.hpp
new file mode 100644
index 0000000..5f457c4
--- /dev/null
+++ b/src/repl.hpp
@@ -0,0 +1,12 @@
+#ifndef SRC_REPL_H_
+#define SRC_REPL_H_
+
+#include "board.hpp"
+#include <vector>
+
+int startREPL(Board *b);
+void PrintMoves(const std::vector<Move> &moves);
+bool isValidChessRank(char rank);
+bool isValidChessFile(char rank);
+
+#endif /* SRC_REPL_H_ */