A simple implementation of the classic Snake game in Java using the Swing library.
- Clone the repository to your computer.
- Open the project in your Java development environment.
- Run the main class
SnakeGame.java.
- Use the arrow keys to control the snake.
- Collect food to increase the snake's length and score.
- The game ends if the snake collides with itself or the walls.