Hacker News new | ask | show | jobs
by azan_ 68 days ago
Making decisions quickly, cheaply and without having to train your own model.
1 comments

Math.random can make poor decisions quickly and cheaply
Benchmark it against jev and you'll have your answer.
I mean,

> get stuck in strange loops of going in and out of the same door to no end

Math.random is statistically unlikely to do this.

Maybe math.random would've taken 10B years to get to that door in the first place.
Pathfinding is handled by the harness
No you have to use Math.sqrt(Math.random()) to outperform jev
mathrandomplayspokemon.org