From ca5e947269608757a1af5295f5c77958de341fc3 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Jul 2026 09:43:30 +0200 Subject: making bot do check and add knight table --- src/moves.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/moves.hpp') 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 &moves); void GenerateKningtMoves(Game *b, int from, std::vector &moves); void GeneratePawnMoves(Game *b, int from, std::vector &moves); +bool IsSquareAttacked(Game *board, Position square, bool white); +bool IsPieceTypeAttacked(Game *board, PieceType type, bool white); #endif /* SRC_MOVES_H_ */ -- cgit v1.2.3