Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 643 Bytes

readme.md

File metadata and controls

23 lines (15 loc) · 643 Bytes

Snake Game Demo

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.

Try it out

To try this game, follow these steps:

  1. Clone the repository.
  2. Install pygame pip install pygame
  3. Run python3 snake.py
  4. Use arrow keys to change the direction of the snake's movement.

Enjoy playing the Snake game !!!