Back to front pageView on Hacker News (opens in a new tab)Show HN: Untrusted, a JavaScript adventure game you play by modifying its source (opens in a new tab)alex.nisnevich.com555 pointsby alnis (on Hacker News)12 years agoComments (235) 72 threadsShow all commentsShowing thread 37 of 72[-]kccqzy12 years ago2 replies#I actually used a "private API" in level 14, crisps contest.https://gist.github.com/anonymous/dacd3f1de73a59b5983eIs this cheating?alnis12 years ago#Ooh, good catch! player.pickUpItem should definitely be renamed to player._pickUpItem and not made available to the player.[-]shawabawa312 years ago1 reply#I completely cheated (added an extra key by setting a trace in the console) because I looked for an editable line for about 10 minutes and couldn't find it.Solved it now by changing greenKey to theAlgorithmswordsmith12 years ago#Could you explain how you would do this? There doesn't seem to be an editable line, what's the trick?
Show HN: Untrusted, a JavaScript adventure game you play by modifying its source (opens in a new tab)alex.nisnevich.com555 pointsby alnis (on Hacker News)12 years ago
kccqzy12 years ago2 replies#I actually used a "private API" in level 14, crisps contest.https://gist.github.com/anonymous/dacd3f1de73a59b5983eIs this cheating?
alnis12 years ago#Ooh, good catch! player.pickUpItem should definitely be renamed to player._pickUpItem and not made available to the player.
shawabawa312 years ago1 reply#I completely cheated (added an extra key by setting a trace in the console) because I looked for an editable line for about 10 minutes and couldn't find it.Solved it now by changing greenKey to theAlgorithm
swordsmith12 years ago#Could you explain how you would do this? There doesn't seem to be an editable line, what's the trick?
Comments (235) 72 threads
Show all comments
Showing thread 37 of 72
https://gist.github.com/anonymous/dacd3f1de73a59b5983e
Is this cheating?
Solved it now by changing greenKey to theAlgorithm