diff --git a/www/js/interface.js b/www/js/interface.js index 5db66eb..c51152c 100644 --- a/www/js/interface.js +++ b/www/js/interface.js @@ -1085,13 +1085,13 @@ const INTERFACE = { // Select random from ties. let selection = 0; for(let i = 1; i < moves.length; ++i) { - if(moves[i].score == moves[i-1].score) { + if(moves[i].score + 10 >= moves[i-1].score) { selection++; } else { break; } } - selection = Math.min(moves.length, selection + 2); + selection = Math.min(moves.length, selection + 1); return moves[Math.floor(Math.random() * selection)]; }