Live data from Hacker News

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

alex.nisnevich.com

161–170 of 246 posts

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

#161
post #151

I love this game! Such a cool idea, and very well executed. My biggest critique so far is that it's extremely hard for me to tell the difference between #311 and #000 for the `.disabled` lines (I'm mildly red-green colorblind). Changing it to #711 fixed it for me, but I can imagine it would be impossible to even see #F11 for certain colorblind individuals. Perhaps some other kind of indication that a line is editable…

That can be solved without changing the colors of anything, BTW :)

I just realized that I misread you and it's too late to edit. You're talking about lines of source code (and I do agree, I was really confused on the level where you can only edit a tiny section of code I missed), whereas I thought you were referring to the lasers puzzle (I just moved the exit for that).

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

#162
post #127

The level files are 503ing, but it looks like the level counter is still incrementing if I go out of the exit and back in again. You might want to add some response code validation in. GET http://alex.nisnevich.com/untrusted/levels/10_ambush.jsx 503 (Service Unavailable) jquery.min.js:6 GET http://alex.nisnevich.com/untrusted/levels/11_robot.jsx 503 (Service Unavailable) jquery.min.js:6 GET http://alex.nisnevich.com/…

Sadly, our server couldn't handle the load. I've set up a mirror at: http://alexnisnevich.github.io/untrusted/ We're currently working on handling the AJAX responses more robustly. The level counter should no longer increment on a failed request.

Thanks for the fun game!

Could you possibly help us by putting in a ruler that marks the map coordinates? Yes, I can read the code to find where things are (or count), but there were a few times where it was somewhat inconvenient.

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

#163
post #104

Level 1 just reloads after I get to the exit.

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

#164
post #162
post #127

Earlier quoted context omitted.

Sadly, our server couldn't handle the load. I've set up a mirror at: http://alexnisnevich.github.io/untrusted/ We're currently working on handling the AJAX responses more robustly. The level counter should no longer increment on a failed request.

Thanks for the fun game! Could you possibly help us by putting in a ruler that marks the map coordinates? Yes, I can read the code to find where things are (or count), but there were a few times where it was somewhat inconvenient.

Thanks for the feedback! We've been thinking about doing that, but the challenge is making it inconspicuous enough to not clash with our minimalist aesthetic.

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

#165
post #96
post #91

Earlier quoted context omitted.

Do you have any tools available to you that let you execute code at a chosen time?

hah, I tried that multiple times, i get: You are not allowed to use call!

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 ;)

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

#166

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

Level 6 doesn't work for me at all. I can get there several ways but the exit doesn't function.

Also, is it possible for counter drones to kill the red drone? Mine wouldn't, all they do is block him.

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

#167

Anybody think of another way to do the robot levels without adding any state? https://gist.github.com/db41e069df7bae142248

https://gist.github.com/xmonkee/10099892

The robot follows my player, unless it's green, in which case it goes 'down' (cause it wont pick up the key under remote control for some reason). I'm saving state in the color of the player.

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

#168

Anybody think of another way to do the robot levels without adding any state? https://gist.github.com/db41e069df7bae142248

https://gist.github.com/anonymous/486caea6cc41f13dca76

The robot goes down unless its x-coordinate is between 20 and 33, in which case it goes up. Kinda cheesy, but it works...

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

#169
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.

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

#170
post #96

Earlier quoted context omitted.

hah, I tried that multiple times, i get: You are not allowed to use call!

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
Post reply on HN