Hacker News new | ask | show | jobs
by phragg 4739 days ago
Fun but easily hacked if you change the class in DevTools to not be disabled, then click click clickity.
1 comments

Isn't every javascript game easily hacked?
It can be made a decent amount more difficult with some simple changes like obfuscating the source and also encapsulating all the object definitions and state in a closure, instead of putting it all in global variables. Of course I think that would violate the minimal spirit of the game and it's really cool to be able to see its source so easily.