Skip to content

Zedai00/SnakeZ

Repository files navigation

🐍 SnakeZ

SnakeZ is a classic Snake game built using Java. Control the snake, eat food, and grow while avoiding collisions!

🎮 Features

  • 🕹️ Smooth keyboard controls using JLine
  • 🍎 Food spawning for score increase
  • 🚀 Increasing difficulty as the snake grows
  • 🔄 Multithreading for responsive gameplay
  • 🎨 Simple but engaging UI

🛠️ Technologies Used

  • Language: Java
  • Libraries:
    • JLine for keyboard input
    • Java's built-in Threading API for smooth execution

📦 Getting Started

  1. Clone the repository:

    git clone https://github.com/Zedai00/SnakeZ.git
  2. Open the project in an IDE (Eclipse, IntelliJ, or VS Code).

  3. Install JLine (if needed):

    mvn install jline:jline
  4. Compile and run the game:

    javac SnakeZ.java  
    java SnakeZ  

📜 License

This project is licensed under the MIT License.

📫 Contact


🐍 Enjoy playing SnakeZ! Feel free to contribute or suggest improvements! 🚀

Releases

No releases published

Packages

No packages published

Languages