Hacker News new | ask | show | jobs
by bandwevil 4225 days ago
Yeah, step functions really break this. I think I was in a game with you or some else with the same general idea, they won on the very first turn with the sine wave trick.
1 comments

Agreed, functions should be continuous and no step functions.
Even heavily restricting the function to only use addition and multiplication doesn't solve the problem.
But it almost impossible to write a polynomial in under 60 seconds without any tools, that follows the desired path.
I assume it to be not doable but that in no way fixes the problem that its easy to write a tool that plays perfectly.
There are simple ways to make that very hard. The first one is to remove copy paste.
You can just analyze the graphical output of the browser and hence make your hack useless. The underlying problem of this game is just too easy to solve.