aboutsummaryrefslogtreecommitdiff
path: root/src/moves.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-28 09:43:30 +0200
committerAdam <adammegarules1@gmail.com>2026-07-28 09:43:30 +0200
commitca5e947269608757a1af5295f5c77958de341fc3 (patch)
treed2e0fd2d5937a7ed3144289d6f85b86b1a0d1967 /src/moves.hpp
parentbb42f7d438c088b18e953e38cb07d0cdf25f749a (diff)
making bot do check and add knight table
Diffstat (limited to 'src/moves.hpp')
-rw-r--r--src/moves.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/moves.hpp b/src/moves.hpp
index 4c6716e..592da3f 100644
--- a/src/moves.hpp
+++ b/src/moves.hpp
@@ -13,5 +13,7 @@ void GenerateSlidingMoves(Game *b, int from,
void GenerateKingMoves(Game *b, int from, std::vector<Move> &moves);
void GenerateKningtMoves(Game *b, int from, std::vector<Move> &moves);
void GeneratePawnMoves(Game *b, int from, std::vector<Move> &moves);
+bool IsSquareAttacked(Game *board, Position square, bool white);
+bool IsPieceTypeAttacked(Game *board, PieceType type, bool white);
#endif /* SRC_MOVES_H_ */