Snake game demo with GUI (using Java Swing).
-
↑ ↓ ← →
change moving direction; -
F2
restart game.
-
Each
Apple
worth 10 score. -
The
snake
increases itsbody
by oneblock
each time it eats anapple
. -
The
snake
dies when it move into awall
or itsbody
.