aboutsummaryrefslogtreecommitdiff
path: root/src/moves.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/moves.hpp
parenta8b482443dca91f6410a60e9023c6d9dd853b400 (diff)
adding repl
Diffstat (limited to 'src/moves.hpp')
-rw-r--r--src/moves.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/moves.hpp b/src/moves.hpp
index 2cede49..ae26e29 100644
--- a/src/moves.hpp
+++ b/src/moves.hpp
@@ -4,12 +4,12 @@
#include "board.hpp"
#include <vector>
-std::vector<Move> GetLegalMoves(board *b);
+std::vector<Move> GetLegalMoves(Board *b);
Position IndexToPosition(int i);
-void GenerateSlidingMoves(board *b, int from,
+void GenerateSlidingMoves(Board *b, int from,
const std::array<int, 4> &directions,
std::vector<Move> &moves);
-void GenerateKingMoves(board *b, int from, std::vector<Move> &moves);
-void GeneratePawnMoves(board *b, int from, std::vector<Move> &moves);
+void GenerateKingMoves(Board *b, int from, std::vector<Move> &moves);
+void GeneratePawnMoves(Board *b, int from, std::vector<Move> &moves);
#endif /* SRC_MOVES_H_ */