This is a Java-based Snake Game that builds upon the foundational concepts presented in the tutorial by Bro Code.
- Two-player mode
- Multiple levels with increasing difficulty
- Poison food that ends the game
- Obstacles that players must avoid
- Score tracking for each player
- High score logging
To run the game, ensure you have Java installed on your machine. Clone the repository and navigate to the project directory. You can then compile and run the game using your preferred IDE or command line.
- Java Development Kit (JDK) 22 or higher
- Maven (for dependency management)
- Clone the repository:
git clone https://github.com/yourusername/JavaSnakeGame.git - Navigate to the project directory:
cd JavaSnakeGame - Compile and run the project:
mvn clean install mvn exec:java -Dexec.mainClass="org.example.SnakeGame"
This project is based on the Snake Game tutorial by Bro Code. You can watch the tutorial here.
This project is licensed under the MIT License. See the LICENSE file for details.