Team: Samuel Wang Pre-req: Java 17
How to
- press arrow keys(not left) to start playing (each key rotates the snake in the correct direction)
- Game over when the snake head hits itself (blue snake body) or the snake travels out of bounds (the checkerboard)
Purpose
- Play Snake with arrow keys, eat the apples (red boxes) to increase score
Reqs
- User input: arrow keys to move snake (GamePanel.java), entering name to save score (
- Hashmap - used for scoreBoard (name: score), found in snake.java
- Serialization - scores are saved locally after user dies in game
- Exception Handling - try, catch used in serialization in case there is no leaderboard present (snake.java constructor)