|
|
|
|
|
by florian_s
2656 days ago
|
|
I tried: let left = () => captureBtnLeftFunc($.Event())
let right = () => captureBtnRightFunc($.Event())
() => captureBtnRightFunc($.Event())
setInterval(() => {
console.log("Guessing");
if (Math.random() < 0.5) {
left()
} else {
right()
}
}, 1000)
|
|
Running this myself, the guesser is correct 46% of the time after 100 iterations.