Use the arrow keys to collect food.
Avoid touching the walls.
Refresh the page to play again.
A new version of this scenario was uploaded on 2018-01-13 23:05:04 UTC
A new version of this scenario was uploaded on 2018-01-13 23:06:02 UTC
A new version of this scenario was uploaded on 2018-01-13 23:24:19 UTC
A new version of this scenario was uploaded on 2018-01-15 22:51:15 UTC
A new version of this scenario was uploaded on 2018-01-17 15:52:42 UTC
Removed red border which makes world boundless, this improvement allows snake to move to edge and respawn on other side.
A new version of this scenario was uploaded on 2018-01-17 16:10:38 UTC
Added code to call gameOver function when snake bites itself.
A new version of this scenario was uploaded on 2018-01-17 16:20:40 UTC
Added code to call gameOver function when snake bites itself.
A new version of this scenario was uploaded on 2018-01-18 09:08:05 UTC
Changed graphics to make UI look more finished.
You must first learn to walk before you can run, the code and the backbone of the game work well as such. This is the most important. Then the finished UI and many more improvements such as score counters and high score are yet to come.
A new version of this scenario was uploaded on 2018-01-18 19:59:36 UTC
Changed gameover image.
A new version of this scenario was uploaded on 2018-01-18 20:38:09 UTC
Added some super cool sound effects!
A new version of this scenario was uploaded on 2018-01-18 21:37:19 UTC
Improvements to UI and sound.
Game now auto starts on a splash page and awaits keyboard input.
A new version of this scenario was uploaded on 2018-01-18 21:38:00 UTC
Improvements to UI and sound.
Game now auto starts on a splash page and awaits keyboard input.
A new version of this scenario was uploaded on 2018-01-18 21:40:52 UTC
Improvements to UI and sound.
Game now auto starts on a splash page and awaits keyboard input.
A new version of this scenario was uploaded on 2018-01-18 21:47:34 UTC
A new version of this scenario was uploaded on 2018-01-18 21:48:33 UTC
A new version of this scenario was uploaded on 2018-01-18 21:49:46 UTC
A new version of this scenario was uploaded on 2018-01-18 21:50:42 UTC
A new version of this scenario was uploaded on 2018-01-18 21:51:52 UTC
A new version of this scenario was uploaded on 2018-01-18 21:56:49 UTC
A new version of this scenario was uploaded on 2018-01-19 15:58:56 UTC
Changed sound effects.
A new version of this scenario was uploaded on 2018-01-21 15:39:09 UTC
Took out automatically playing background music...
FAQ - A list of frequently asked questions can be found below:
Q - How do I play?
A - Use the arrow keys to guide the snake into collecting food.
Q - How do I lose?
A - You lose the game when the snake head touches part of the snake tail. Losing is inevitable to the user and it relies on how long you make it in the game.
Q - How do I restart?
A - To restart the game press the reset button if in Greenfoot or refresh the web browser.
A new version of this scenario was uploaded on 2018-01-21 20:03:18 UTC
A new version of this scenario was uploaded on 2018-01-25 10:37:44 UTC
Very nice concept and design, really enjoying it.
Some background music would be really nice to listen to while playing the game or possibly a scoring system.
Being able to eat yourself by turning backwards is not bad as a simple mistake could end the game but it's also not the most optimal way to end the game.
Hi Kartoffel, thanks for your feedback! I’m glad you like the game! - I actually originally had background music on the game but for the most part got fed up of quickly as it kept on looping which was somewhat distracting from the gameplay. I intend to add a scoring system in the future. I have also thought about allowing the user to continue playing even if they try to reverse direction. I will probably fix this in a new version! - Thanks, Andrico
You should prevent the player to go back. Just adding a "&& this.getRotation() != 270" in the down command, !=90 in the up command, !=180 in the right command and !=0 in the left command.
It would prevent the player to go back and kill himself against his own neck aha
2018/1/13
2018/1/18
2018/1/18
2018/1/21
2018/1/25
2018/1/28
2021/2/18