Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by resist_futility on Monday April 07, 2014 @07:48PM
(#7550481)
Any tips on level 15? Once the player is killed what could I possibly do?
[ Parent
| on HN ]
Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by Lord_DeathMatch on Tuesday April 08, 2014 @12:48PM
(#7554544)
I can't figure it out either; i know that if you raise an exception in the area you can edit, it gets caught a few levels up where the toString representation of whatever you threw is parsed into status update info, with newlines interpreted correctly. But after that, even if you input chars that could build a bridge, it's not persisted to the next attempt :/
Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by m_myers on Tuesday April 08, 2014 @02:04PM
(#7554964)
After a lot of trial, error, and attempted code injection, I found that it was much easier than I had expected. It can in fact be solved with a single character.
Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by Lord_DeathMatch on Wednesday April 09, 2014 @03:56AM
(#7558164)
Hmm. Damn.
Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by cheepin on Tuesday April 08, 2014 @06:15AM
(#7552455)
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?
Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by SheeEttin on Tuesday April 08, 2014 @12:42PM
(#7554500)
I'm trying with
player.killedBy(function(){throw new Exception();});
...but then that just means I get killed by "function(){throw new Exception();}".Edit: never mind, got it. Overriding onCollision helps. :)
Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by wingerlang on Tuesday April 08, 2014 @11:17AM
(#7553904)
I think that's the purpose, the filename says something about "exception".
Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by AStack0verflow on Thursday April 10, 2014 @06:41PM
(#7570168)
Remember in of the earlier levels when who-ever is talking to us, said that the name of the level could come in handy? Try using that ;)
Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by alnis on Monday April 07, 2014 @07:50PM
(#7550489)
The level filename is a hint.