Hi all, I have a new puzzle for you. It’s a light switch problem again, but this time you have to walk on a grid, with a predictable result at each step. Kudos to @will @E_RedMark for the feedback. @will, you can now play the same board again to improve your score - the map will show you the minimal path.
https://dashingdon.com/play/sciscidiego/walking-lights/mygame/
@Charles_Parkes This also uses the keyboard, let me know if you have suggestions on the interactivity.
8 Likes
Ohh more puzzle…
nice touch, using the up, down,left and right . But got an error here: Uncaught TypeError: Cannot read property ‘_avast_submit’ of undefined
Thanks!
Is my Javascript is conflicting with your anti-virus (Avast)? I don’t have anything related to Avast in my code.
At what point does the error trigger? I’d like to understand what may cause this.
1 Like
dunno, was playing with up, left, right and at some point it did that .
Maybe ? I do have avast, but it doesnt cause me trouble usually…
1 Like
Hi @Charles_Parkes, thanks, I am happy you like it. And thanks for the comments and suggestions. To answer your questions:
-
I guess the mobile layout has a smaller width. I didn’t test it there. Maybe I could resize the images with *script, or force a smaller size.
-
The layout is done with a bunch of left-aligned images, plus the small white line (aligned center) to start a new row. But I did a small update and I was able to hide the line with *script. Let me know if you like it.
-
Icons are 50x54.
-
I am happy the map is useful. I put it there when I noticed that the game can get very frustrating on larger sizes.
1 Like
Try now. I have adjusted the image size to the window width. It should work better on smaller phones (but the puzzle can get VERY tiny!)
Another limit to publication is the use of *script to work around CS’s limitations. Some issues could be fixed in CSS (styling), other would require a few tweaks to CS itself.
1 Like
Show off
Works perfectly on mine now
1 Like