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

Report as inappropriate.

kminttech
kminttech presents ...

2012/5/3

Snake

A simple snake game controlled by the arrow keys.

Controls - direction of key = direction of movement

Goal - pick up red dots to extend snake

- Avoid blue blocks (walls)

5855 views / 20 in the last 7 days

1 vote | 0 in the last 7 days

Tags: game with-source

Your browser is ignoring the <APPLET> tag.
A new version of this scenario was uploaded on Thu May 10 14:34:06 UTC 2012 - Changed the music
A new version of this scenario was uploaded on Fri May 11 19:52:59 UTC 2012 * Ridded it of the the music since it took almost 13 megabytes more
stevedsteved

2012/5/13

i didnt copy your pic tylers! btw nice game castle defence! how do you get the turets to aim at a turtle? im trying to learn how to make and object folow another one..
stevedsteved

2012/5/13

lol i can beat his grandma
tylerstylers

2012/5/13

oh sorry about that. http://www.greenfoot.org/scenarios/632 I got the code of this game for the turrets to fire at the turtles. thanks :D
danpostdanpost

2012/5/13

As I played on, the number of food that remained decreased. When I got to 21, there was no more food to eat. I'm hungry, please!
kminttechkminttech

2012/5/14

Sorry i can't get that same error
DOPE!
stevedsteved

2012/5/14

Almost good enough for a sega LOL.
PaniomPaniom

2012/12/5

Would you be willing to give any insight about the code for your snake? I am learning Java, and I am trying to program a variation of the snake game. I am considering using an ArrayList so that the snake can grow infinitely. I am in the middle of creating my UML as it is a group project and we have to make sure we are on the same page. How did you add segments to the snake, and how did you make sure the body followed on the path of the head?

See all comments

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

Who likes this?

chiefnoah