Live data from Hacker News

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

alex.nisnevich.com

131–140 of 246 posts

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

#131

This is awesome but it keeps repeating the first level! I get the solution but then it just reloads everything.

The game was broken for a bit, and it's possible that your saved state got corrupted.

Try restarting the game by running localStorage.clear() in the JavaScript console, then refreshing the page. Does that fix it?

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

#132
post #98

Hey guys, one of the developers here. Thank you all so much for all of your feedback! I never thought this game would become so popular. It seems that our server is more or less overloaded right now, so AJAX requests for new levels are sometimes failing. This appears to be the cause of the bugs that some of you have experienced where levels load incorrectly or are overwritten by previous levels. Sorry about that. :-/…

I installed the latest version of this, and of Node, on my Windows computer, and I had to change "~/node_modules" to "./node_modules" in the final line of Makefile (in the "runlocal" target) - the http-server module was installed in the current directory. Otherwise it's working great; thanks!

[deleted]

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

#133
post #98

Hey guys, one of the developers here. Thank you all so much for all of your feedback! I never thought this game would become so popular. It seems that our server is more or less overloaded right now, so AJAX requests for new levels are sometimes failing. This appears to be the cause of the bugs that some of you have experienced where levels load incorrectly or are overwritten by previous levels. Sorry about that. :-/…

I installed the latest version of this, and of Node, on my Windows computer, and I had to change "~/node_modules" to "./node_modules" in the final line of Makefile (in the "runlocal" target) - the http-server module was installed in the current directory. Otherwise it's working great; thanks!

Good catch -- I fixed the Makefile to actually go along with how http-server is installed in the README.

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

#134
post #69

That was great, Here's making the boss kill itself https://gist.github.com/anonymous/2d45242a73f72847417b

Much earlier but: defense by excessive reaction. https://gist.github.com/anonymous/0bd9b9d36892ffe6dbbf

These are both beautiful.

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

#135
Does anyone know of a nice way to unlock levels for the mirror? I'm on the first jQuery one but all I see is black text on a white screen. No players and nothing changes when I use the arrow keys. I can't find anything in the code I can edit either. I'd like to try the mirror but I don't want to have to play though the whole game again?

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

#136

Does anyone know of a nice way to unlock levels for the mirror? I'm on the first jQuery one but all I see is black text on a white screen. No players and nothing changes when I use the arrow keys. I can't find anything in the code I can edit either. I'd like to try the mirror but I don't want to have to play though the whole game again?

Can you show me what the jQuery level looks like for you? I want to make sure that it's working correctly.

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

#138
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?

I just added a feature to the game that watches certain functions and compares them to what they were at the start of the game (during the level validation phase). I'm sure this can still be gamed though.
Post reply on HN