This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

andricozach
andricozach presents ...

2018/1/10

Andrico's Snake Game

A snake game for Unit 22 by Andrico

9843 views / -367235 in the last 7 days

5 votes | 0 in the last 7 days

Tags: game simulation demo with-source

open in greenfoot
Your browser does not support the canvas tag.
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...
andricozachandricozach

2018/1/21

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
KartoffelKartoffel

2018/1/25

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.
andricozachandricozach

2018/1/28

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
AnJoMortoAnJoMorto

2021/2/18

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

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Noobopanda Game/maniac KiA UserAJ J.A.M