From 6298dc28285dfb434c8781084e4e9da710d73ef7 Mon Sep 17 00:00:00 2001 From: Ritesh Sharma <119002315+RiteshS1@users.noreply.github.com> Date: Thu, 21 Nov 2024 08:04:53 +0530 Subject: [PATCH] Update bestmove.js --- scripts/bestmove.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bestmove.js b/scripts/bestmove.js index fd6be2c..22b909f 100644 --- a/scripts/bestmove.js +++ b/scripts/bestmove.js @@ -88,7 +88,7 @@ function suggestBestMove() { button.disabled = false; button.textContent = 'Suggest Best Move'; } - }, 0); + }, 1000); } // Helper function to get basic piece values @@ -278,4 +278,4 @@ document.getElementById('suggest-best-move').addEventListener('click', () => { function updateTurn() { isWhiteTurn = !isWhiteTurn; -} \ No newline at end of file +}