A simple Snake game created with Pygame.
This is a classic Snake game where you control a red snake to eat blue food and grow longer. The game ends if the snake hits the boundaries or itself.
- Python 3.x
- Pygame
- Clone this repository
- Install pygame if you don't have it already:
pip install pygame
python snake_game.py
- Arrow Keys: Change direction
- Q: Quit when game is over
- C: Play again when game is over