News for hackers. Stuff that matters.
Re:Show HN: Untrusted, a JavaScript adventure game you play ... by christiangenco on Tuesday April 08, 2014 @02:05PM (#7554968)
This was mine:

    var r = Math.random();
    me.move(
      r < 0.4 ? 'right' :
        r<0.6 ? 'up' :
          r < 0.8 ? 'down' :
            'left'
    );
Works eventually :)

For level 13 I just used:

    me.move(Math.random() > 0.5 ? 'right' : 'down');
And regenerated the map until I got to one that could be solved by moving only right and down.

There are no comments on this comment yet.