This is a Snake Game implemented using Python and Pygame & pygame_gui libraries. The game offers customization options such as window size, snake size, and snake speed, along with randomly generated food items and collision detection.
- Customizable window size, snake size, and snake speed.
- Randomly generated food that increases the snake's length upon consumption.
- Detection of collisions with self and screen boundaries.
- Simple UI for setting up the game.
- Replayable game over screen.
To play the game, you will need Python 3.x installed on your system, along with the Pygame and pygame_gui libraries. Install them using the following commands:
pip install pygame
pip install pygame_gui
Run snake_game.py
to start the game:
python snake_game.py
This project is licensed under the MIT License - see the LICENSE file for details.
- (Lonrun) - Initial work
- Master - Code assistance