Skip to content

kiraboibrahim/Python-Snake-Game

Repository files navigation

Snake Game In Python

Game Start up Game

This is the python version of snake game. The rules are simple which if violated, the game ends:

  • The snake should not collide with the walls.
  • The snake should not feed on itself.

10 game points are awarded if the snake eats the fruit. The goal of the player is to attain the highest score possible.

Game Control Keys

  • Arrow Keys: Moving the snake(Giving the snake direction)
  • Space Bar: Restarting the game, if the game is over.

Running the game

Installing dependencies

pip install -r requirements.txt

Running the game

python snake.py

About

The snake written in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages