Lurker News

Comments (235) 72 threads

Earlier comments
segmondy#
Why, it's not about the number of mines, so long as there's a path, it's very easy to solve. The number of mines is irrelevant.
opnitro#
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.
columbo#
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.

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

christiangenco#
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.
jneen2 replies#
Content note: plays sound.

Did the quick ^W at work :|

maaaats#
The tab only plays sound while active here, a nice touch I think.
XaspR8d#
Clicking the sound symbol does mute it, fyi.
devilshaircut1 reply#
I broke level 4. Is there an obvious way that I am missing to reset at the level you're on when the reset functionality provided under the text editor is insufficient?
alnis1 reply#
The Reset button should completely reset editor state for the level. What happened?
devilshaircut1 reply#
Btw, I should have said first that I love this game idea and myself and my coworkers have been playing it a bit for the last 20 minutes or so.

I broke my game by reassigning the getWidth method to return an invalid value:
map.getWidth = function() { return 1; }
The approach worked with a valid value: ( map.getWidth = function() { return 6; } ) and I beat the level, but I had to replay the previous 3 levels.
Some suggestions (Again, we loved the game!) - Provide some interface to conveniently index all the solution Gists. - Provide some way to quickly skip to last level played.
Other thoughts: - Enjoyed the look, feel, and user interaction. - The music was great. - I will keep playing this game. :)

alnis2 replies#
Oh, quick note - you can skip to the last level played in the Menu (Ctrl-0). We should probably make that more obvious.

Continue this thread — 2 replies

Load more comments