A classic Snake game implemented in Java using Swing. Features:
- Smooth movement
- High score saving
- Start/restart screens
- Colorful graphics
GamePanel.java: Main game logic and rendering.GameFrame.java: Window setup and event handlingSnake.java: Entry pointhighscore.txt: High score persistence (created automatically).gitignore: Ignore compiled files and IDE configs
- Compile all Java files:
javac snake_game/*.java - Run the game:
java snake_game.Snake
- Add sound effects (see comments in code for future extension)
- Add levels or obstacles
- Refactor for even better separation of concerns
- Improve mobile compatibility