Welcome to the Snake Game, a classic console-based game implemented in Java. This game allows the player to control a snake that grows longer as it consumes food, while avoiding collisions with itself and the walls.
Make sure you have the following installed on your machine:
- Java Development Kit (JDK)
- Eclipse (latest version)
- Git (optional, if you want to clone the repository)
- Simple Controls: Navigate the snake using arrow keys (up, down, left, right).
- Scoring: The player earns points for each food item consumed, and the snake grows longer.
- Game Over Detection: The game ends if the snake collides with the walls or itself.
- Speed Increase: The game speed increases as the snake grows, making it more challenging.
- Clone the Repository:
git clone https://github.com/John12356/JAVA-Snake-console-game.git
- Copy the GitHub URL of the repository to the clipboard (https://github.com/John12356/JAVA-Snake-console-game)
- Open Eclipse and choose Import –> Projects from Git (with smart import)
- Choose the Clone URI option in the Git import wizard and click Next
- Confirm the URI, Host and Repository path parameters and click Next
- Choose the Git branches to clone from the remote repository and click Next
- Confirm the Directory into which the repository will be cloned and click Next
- Choose the project to import into Eclipse from GitHub and click Finish
We greatly appreciate all contributions to this project. Contributors will be acknowledged in our CONTRIBUTORS.md file. Thank you for your support!
This project is licensed under the MIT License. See the LICENSE file for details.
We appreciate your interest in our project and hope that you find it useful. Your contributions and adherence to the project's license are valuable to us.