Skip to content

devgustha/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SnakeGame

Snake game retro made in python.

Need:

  • pygame:

    for displaying the game.

  • random:

    for random generating fruits around the map.

How to play:

The game is played with [W, A, S, D] to move the snake.

  • if you touch a segment of the snake you will lose and your score will be 0.
  • if you touch a fruit you will grow one segment and the score will increment by 1.
  • if you bypass the screen size you will be teleported to the other side.

you also have a game over screen, and to reset the game just press R or Space.

Screen shots:

image image

About

Snake game retro made in python using pygame and random libs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages