Skip to content

Commit

Permalink
added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RealMarvn committed Mar 24, 2024
1 parent 111a6bd commit 4737ca0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engine/chess_bot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ int ChessBot::search(Board& board, int depth, int alpha, int beta, int ply, Move
}

int ChessBot::quiescenceSearch(Board& board, int alpha, int beta) {
// Eval the position.
int stand_pat = eval(board);

if (stand_pat >= beta) {
return beta;
}
Expand Down

0 comments on commit 4737ca0

Please sign in to comment.