Jive Snake is a classic Snake game built using Java Swing. It offers a nostalgic gaming experience where you control a snake, eat food, and try to grow as long as possible without colliding with walls or yourself.
- Classic Snake gameplay.
- Intuitive controls using arrow keys.
- Score tracking to keep track of your progress.
- Speed increases as the snake grows, making the game progressively challenging.
- Game over when the snake collides with walls or itself.
These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.
- Java Development Kit (JDK) installed on your machine.
- Git installed on your machine (optional, if you want to clone the repository).
-
Clone the repository (or download the ZIP file and extract it):
git clone https://github.com/Sandile-Dev01/Jive_Snake.git
-
Navigate to the project directory:
cd Jive_Snake
-
Compile the Java source files:
javac *.java
-
Run the game:
java Main
-
Use the arrow keys to control the snake (Up, Down, Left, Right).
-
Enjoy the game!
- Use the Up, Down, Left, and Right arrow keys to control the snake's direction.
- Press SPACE to restart the game at any time.
If you'd like to contribute to my Jive Snake, please follow these steps:
- Fork the repository on GitHub.
- Create a new branch for your feature or bug fix:
git checkout -b feature-name
. - Make your changes and commit them:
git commit -m "Add new feature"
. - Push your changes to your fork:
git push origin feature-name
. - Open a pull request on the original repository.
- Thanks to the Java Swing library for making it easy to create graphical user interfaces.
- Inspiration from classic Snake games.
If you have any questions or suggestions, please feel free to contact us at ndimandesandile778@gmail.com.
Enjoy the game! 🐍🎮