Hacker News new | ask | show | jobs
by topher200 1577 days ago
I wrote a "smart" random clicker. It iterates through all the shapes and clicks their locations in a double-for loop. I added some jitter because it can't tell when it succeeds (so sometimes it starts in the "middle" of a loop and get stuck).

Paste this in the console and go! https://gist.github.com/topher200/aead3fd53b0f26bf880e7752eb...

I got a score of 33 on the first full run, which seems to be the highest in the thread (just barely beating the manual brute-force 31 run from @chungy[1]). I think it could be improved by being smarter about the when to click a random guess (or figuring out a way to remove the random clicking completely).

[1]: https://news.ycombinator.com/item?id=30408693