Live data from Hacker News

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

alex.nisnevich.com

141–150 of 246 posts

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

#141

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

Yeah, I just built a wall that it got stuck behind, then I could run to the door before it got me. Don't have the code sorry.

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

#144

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

I _was_ going to build a pathfinder since it's a well documented process, but it was more work than just making the player a joystick

http://qiao.github.io/PathFinding.js/visual/

You'd just need to recalc the pathfinder each time.

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

#147
post #142

Chrome seems to crash every four or five levels and it forces me to reload the page. It's a tad annoying going back through my levels. Perhaps consider a level select, since it's able to remember your solutions?

There is a level select! :-) It's in the Menu (Ctrl-0). We really should bring more attention to it.

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

#148
post #81

I didn't get the last 3 DOM-based ones. I just randomly hit my arrow keys and until I completed the levels. Otherwise a very cool game!

Oh, only level 19 is DOM-based - level 20 and 21 are different. You may have been unable to load correctly them due to the stress on the server, but you should check them out at some point :-)

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

#149

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…

This is definitely something we'll work on! I'm sorry that it was difficult to tell which lines were editable. Maybe we should add a contrast slider of some kind?

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

#150
post #82

:'( I'm stuck at crispsContest.js lvl

This level was driving me crazy (mostly because of the character limit). The solution that I found is kind of silly: it turns out the removeItem function is dumber than you probably think it is.
Post reply on HN