Live data from Hacker News

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

alex.nisnevich.com

171–180 of 246 posts

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

#171
post #123

Attention! The main site is overloaded, but I've set up a mirror at: http://alexnisnevich.github.io/untrusted/ All level-loading issues should be resolved on it, since they were tied to AJAX failures. Let me know if you experience any problems on the mirror site.

Thanks for the game! Credits don't load on the mirror - I get a 404 on the AJAX call.

Oops, it should work now.

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

#172
post #12

This is fun. But I have one wish. Overwrite console.log() so it logs onto the website and I don't need to open firebug :) Edit: I think I solved lvl two to four all the same way. Not sure if that's intended. But I also don't want to spoil it for others. Edit 2: This worked again at lvl 6, so I'll assume that's a bug. Click this pastebin for spoilers: http://pastebin.com/yfhDhE7P

Also, you can use String.fromCharCode(95) to write a '_' so that you can access the methods on map that start with an underscore

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

#173
post #170

Earlier quoted context omitted.

Yeah, it seems odd that the setPhoneCallback is forbidden in this level, because that solution would fit the sequence of levels very well. Luckily, there are other ways to cross the water, and some other commenters in the thread already hinted at them ;)

setPhoneCallback works perfectly for me in level 9 -- in fact, it's my intended solution: https://gist.github.com/anonymous/6e5606649b3cb0d60797

Seems this was a combination of my mistake and a bug that you might have fixed in the meantime. I intended to assign the player object to a variable player but made a mistake. The resulting error message was "player.setPhoneCallback not allowed" or something like that, but that was yesterday and with a different browser version (Firefox). Now when I tried to reproduce it, I get "player is not defined", which is much more helpful :)

I suspect that the GP ran into the same problem.

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

#176
Awesome game.

One thing it drives home for me is just how distracting music is when I'm trying to code. It pulled up that first listing and I literally could not parse it until I muted the audio. Then it immediately turned back into code.

It's like music just turns off the switch that connects the eyeballs to the brain. Amazing.

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

#177

Any tips on level 15? Once the player is killed what could I possibly do?

I actually figured something out with this which is weird, because I don't think it has to do with exceptions. I passed in a new object of an undeclared type and just walked across the water, which I can't explain.

Can anyone help?

Post reply on HN