From 655ec28e14f40b0b68e69d1b700d886c36ee32cd Mon Sep 17 00:00:00 2001 From: yukirij Date: Tue, 20 Aug 2024 17:17:55 -0700 Subject: [PATCH] Increase random move selection of auto play. --- www/js/interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/interface.js b/www/js/interface.js index 8f8da6a..5db66eb 100644 --- a/www/js/interface.js +++ b/www/js/interface.js @@ -1091,7 +1091,7 @@ const INTERFACE = { break; } } - selection = Math.min(moves.length, selection + 1); + selection = Math.min(moves.length, selection + 2); return moves[Math.floor(Math.random() * selection)]; }