SnakeZ is a classic Snake game built using Java. Control the snake, eat food, and grow while avoiding collisions!
- 🕹️ Smooth keyboard controls using JLine
- 🍎 Food spawning for score increase
- 🚀 Increasing difficulty as the snake grows
- 🔄 Multithreading for responsive gameplay
- 🎨 Simple but engaging UI
- Language: Java
- Libraries:
- JLine for keyboard input
- Java's built-in Threading API for smooth execution
-
Clone the repository:
git clone https://github.com/Zedai00/SnakeZ.git
-
Open the project in an IDE (Eclipse, IntelliJ, or VS Code).
-
Install JLine (if needed):
mvn install jline:jline
-
Compile and run the game:
javac SnakeZ.java java SnakeZ
This project is licensed under the MIT License.
🐍 Enjoy playing SnakeZ! Feel free to contribute or suggest improvements! 🚀