Log In  


Updated: Improved controls, can no longer directly reverse in to yourself, thanks to @dw817 for the suggestion!

Cart #acid_snek-1 | 2022-12-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


Very simple snake clone

2


Pretty solid port.


Hi, @acidgames.

You might set it so you can't crash if you choose the exact opposite direction. That is if you are traveling SOUTH and then select NORTH no action would take place.

So you would deny the following keystrokes:

North to South
South to North
East to West
West to East


hi @dw817 -- good thinking -- actually now it will collide but only if the snake is length >3 I'm not sure if it's a bug or a feature, but I think your suggestion would make this much easier to play on mobile!



[Please log in to post a comment]