A stupid script to get the world record on a stupid game.
The game is simple:
- Every time you press the button you get 1 point.
- Every time you press the button your chances to lose all your points is incremented (it goes from 0% to 1%, 2%, 3% etc. after each successful click).
Inspired from here, discovered in this video.
This project is simple: we run billion of tries in parallel to beat the WR.
I achieved 65 (which is likely to be the current world record) after ~ 1 trillion (one thousand billion) tries. I ran the code on my 2080 ti, doing ~1 billion tries every 5 seconds (~12 billion tries per minute).
I also tried on a TPU V3 but it was slower.
Here is an illustration of the distribution of scores over millions of tries:
You'll need jax and ideally the GPU enabled version.
You can modify the parameters of the script, as the number of tries that are done in parallel at each iteration or the printing frequency.
Current parameters should be OK for average configurations but you can drastically speed up the process by increasing them if your hardware supports it.
python run.py
Valentin Macé – LinkedIn – Twitter - [email protected]