Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(board->currentBoard()->moveNumber < 10 && board->currentBoard()->moveNumber > 2){
- int eval = Eval::evaluate(board);
- ExtMove moves[MAX_MOVES];
- U8 moveCount = getAllLegalMoves(board,moves);
- for(int i = 0; i < moveCount; i++){
- if(board->staticExchange(moves[i].move) < 0 && !saced){
- saced = true;
- return moves[i].move;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement