The Snake Game project in Java uses Swing and AWT to create an interactive arcade game where a snake moves, eats apple, grows, and avoids collisions.
This project is a simple Snake Game implemented in Java using Swing and AWT. The game involves controlling a snake to eat food, grow in size, and avoid collisions with the walls and itself.
- Classic snake game mechanics
- Responsive keyboard controls
- Real-time score tracking
- Simple and intuitive UI
- Java
- Java Swing
- Java AWT
- Clone the repository.
- Compile the Java files using
javac *.java. - Run the game with
java SnakeGame.
- Arrow Keys: Move the snake (Up, Down, Left, Right)
This project is licensed under the MIT License. Feel free to use, modify, and distribute it with attribution.
Enjoy the game! 🎯