Adjust auto mover selection.
This commit is contained in:
parent
6df7951f28
commit
00a105dd4a
@ -1009,7 +1009,7 @@ const INTERFACE = {
|
||||
if(moves.length > 0) {
|
||||
moves = moves.sort((a, b) => { return b.score - a.score; });
|
||||
|
||||
let select = Math.floor(Math.random() * Math.min(moves.length, 3));
|
||||
let select = Math.floor(Math.random() * Math.min(moves.length, 2));
|
||||
INTERFACE.process(moves[select].play);
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user