This is a simple implementation of the classic Snake game using Python and Pygame.
- Use arrow keys to control the movement of the snake.
- The objective is to eat as much food as possible to grow the snake.
- The game ends if the snake collides with the walls or itself.
- Press
Q
to quit the game when the game over screen is displayed. - Press
C
to play again after the game over.
- Python 3.x
- Pygame library
- Clone this repository.
- Install Pygame library using
pip install pygame
. - Run the game by executing the
snake_game.py
file.
This game is inspired by the classic Snake game and was created for educational purposes.