Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zhbohao
on Oct 24, 2013
|
parent
|
context
|
favorite
| on:
CandyBox2 ASCII web game
wow, it really hacks! how could u find this bug?
simias
on Oct 24, 2013
[–]
Most if not all of the code runs on the client side, it's expected you can cheat pretty much anything in the game.
candyluver13
on Oct 24, 2013
|
parent
[–]
(function () { for (var i = 1; i < 99999; i++) window.clearInterval(i); var pl = Game.prototype.postLoad; Game.prototype.postLoad = function () { window.game = this; pl.call(this); }; Main.documentIsReady(); })(); game.candies.current = 999999999999
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: