Live data from Hacker News

Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

alex.nisnevich.com

81–90 of 246 posts

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#83
post #20

Earlier quoted context omitted.

Good catch! We haven't been checking yet for tampering with functions, but we probably should. Don't think of it as a bug so much as a cheatcode you discovered :-)

Aww, I thought that was to easy. That trick works for basically any level. Also, is there a good way to completly prevent tampering with functions, or is this just going to be an arms race?

Don't use the functions from the map object, but keep a separate function reference for validation?

I mean if you want to cheat you always can. But that's not the point. Right now you can cheat using official apis.

Just use map._blah() for internal use

By the way: Same trick works for keys.

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#85

Level 6 can be cleared without modifying the code at all: http://home.iitb.ac.in/~pritambaral/level6.mp4 (16K) http://home.iitb.ac.in/~pritambaral/level6.webm (31K) http://home.iitb.ac.in/~pritambaral/level6.gif (161K) EDIT: Seems to have been fixed. Leaving comment for archival purposes?

Seems to have been fixed; I now see http://i.imgur.com/dQeC01W.png

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#89
post #76

Any tips for level 9? I can't seem to find a handle on the raft to be able to modify its behaviour directly.

Is there anything else you could modify to change what the raft does?

Yes...but I can't do it at an intelligent time.
Post reply on HN