Implement Search
This commit is contained in:
@@ -23,13 +23,15 @@ public:
|
||||
static void generateRookMoves(const BoardState &bs, const Square &from, MoveVec &moves);
|
||||
static void generateQueenMoves(const BoardState &bs, const Square &from, MoveVec &moves);
|
||||
static void generateKnightMoves(const BoardState &bs, const Square &from, MoveVec &moves);
|
||||
static BitBoard generateAttackedSquares(const BoardState &bs, BitBoard target, PieceColor opColor);
|
||||
|
||||
private:
|
||||
static void generatePawnMoves(const BoardState &bs, const Square &from, BitBoard targets, MoveVec &moves);
|
||||
|
||||
static void generateMoves(const Square &from, BitBoard movesBB, MoveVec &moves);
|
||||
static void generateMovesWithPromotion(const Square &from, BitBoard movesBB, MoveVec &moves);
|
||||
static BitBoard generateAttackedSquares(const BoardState &bs, BitBoard target, PieceColor opColor);
|
||||
static void generateMoves(const BoardState &bs, const Square &from, BitBoard movesBB, MoveVec &moves);
|
||||
static void generateMovesWithPromotion(const BoardState &bs, const Square &from, BitBoard movesBB, MoveVec &moves);
|
||||
|
||||
inline static bool isCheck(const BoardState &bs, const BitBoard &fromBB, const Square &to);
|
||||
};
|
||||
|
||||
#endif //CHESS_ENGINE_MOVEGENERATOR_HPP
|
||||
|
Reference in New Issue
Block a user