Sign in to follow this  
juv3nal

Untrusted

Recommended Posts

So this is going to be niche in that you're probably going to be pretty lost without some programming knowledge (javascript knowledge is better but probably not necessary), but Untrusted is a neat game that seems kinda like a low fi browser take on doublefines hack n slash, except (from what I've seen of HnS) it's even more explicitly an exercise in programming.

 

Some levels are pretty constrained in what you can do, but others allow for quite a bit of latitude/creativity in terms of solutions. Also "walkthroughs" such as they are can be found by searching for "foo.js" (found at the top of the code panel) on GitHub Gist

 

For example, the first level (which is trivial anyways).

Share this post


Link to post
Share on other sites

Hmm...this is fun, although maybe that's because I'm not doing much coding these days. It's somewhat awkward because while I have a Java background, I've never actually done anything in javascript. The lack of object types is making me a little batty.

 

What did anybody else do for level 13? I just spent way, way too long on it...

 

I decided that the "proper" way to do it was to recursively traverse the maze until you found the key, and then take the first step in that direction. It's painfully inefficient, since it re-computes the entire path every frame (although at least it doesn't traverse the entire maze every frame), but that's what you get for not having stable storage across frames. On the plus side, it is robust enough to solve any maze traversal. Also, since I don't quite understand the javascript array implementation, I looped through them manually instead of using the built in functions, but that's just me being dumb.)

 

I can't imagine that was the "intended" solution though, since it's pretty complex...browsing other solutions, I see that other people used the phone to make the robot mirror the player actions, which is probably closer to the intended solution.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this