Skip to content

Commit

Permalink
Update bestmove.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RiteshS1 authored Nov 21, 2024
1 parent 1d159d8 commit 6298dc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bestmove.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function suggestBestMove() {
button.disabled = false;
button.textContent = 'Suggest Best Move';
}
}, 0);
}, 1000);
}

// Helper function to get basic piece values
Expand Down Expand Up @@ -278,4 +278,4 @@ document.getElementById('suggest-best-move').addEventListener('click', () => {

function updateTurn() {
isWhiteTurn = !isWhiteTurn;
}
}

0 comments on commit 6298dc2

Please sign in to comment.