Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 477 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 477 Bytes

Snake_Game

Snake is a game concept where the player maneuvers a line(snake) which grows in length everytime it eats (passes through) the rat (food), with the snake body as well as the walls being obstacles.

Instructions for the baseline runs of the following

Requirements

  • pygame (pip3 install pygame)
  • random
  • time

Compile & run

  1. Clone/Download the repository.
  2. Move into the directory using the terminal.
  3. Run the game using python snake.py