This is a simple snake game developed in Python using Pygame. It includes the following features:
- Keep tracks of score and level.
- Increases speed as the level goes up.
- Quits the game when the snake hits the wall.
- Quits the game when the snake hits its own body.
- Food appears at random places.
- The snake travels only towards the direction it is facing.
To try this game, follow these steps:
- Clone the repository.
- Install pygame
pip install pygame
- Run
python3 snake.py
- Use arrow keys to change the direction of the snake's movement.
Enjoy playing the Snake game !!!