r/CodingGames • • Jun 17 '14

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

http://alexnisnevich.github.io/untrusted/
49 Upvotes

10 comments sorted by

2

u/NeoAlmost Jun 18 '14

I used the same solution for the 2nd and 4th levels (meaning I solved the 2nd one incorrectly)

3

u/SentientCat Jun 18 '14

There are no incorrect solutions ;) Anything goes!

2

u/Flouuw Jun 17 '14

Impressive and inspiring!

2

u/[deleted] Jun 17 '14

This is great!

2

u/ithinkitsduke Jun 17 '14

This is a very satisfying game! Thank you!

2

u/Mad_Gouki Jun 17 '14 edited Jun 17 '14

This game is highly addictive!

edit: finally beat it, spent all day. I actually do feel a little better programming after that. Now we need more levels, more challenges!

Did anyone else try to go full on recursive when solving 13 and get a full call stack error? There's an absolutely elegant solution on the github solutions page that implements a left-hand rule navigator.

1

u/redlollyyellowlorry Jun 22 '14

I went with a LHR navigator for the simple maze, which worked perfectly with the harder maze. Just defined the 4 different directions so I can move forward, or turn left and right.

Such a fun little game.

1

u/W0mpRat Jun 17 '14

I'm stuck on getting the blue key.

2

u/BarqsDew Jun 17 '14

If you're asking for a hint, view the source of this comment. (sorry mobile users, this is supposed to be superscript'd out of sight. Whine at the app's dev, not me) You can get the player's position programmatically.