Skip to content

Tiemoue/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game 🐍

Description

A fun project to create a simple Snake game implemented with pygame

How to install

Download the Python 3 installer package from the official website and install it, if not installed previously.

Run the following in the terminal to install the Pygame library pip3 install pygame

How to start

simply run the file main.py or run Python main.py in the terminal and click on the play button

How to play 🎮

  1. Use the ⬅left, ➡right,️ ⬆up️, ⬇down ️arrow keys to move the snake
  2. food will appear randomly on the screen. Eating each piece gives you points.
  3. If you hit the ends of the screen, the game will end.
  4. If you accidentally eat your own body, the game will end.
  5. the game speed gets faster as the snake grows
  6. Beat your own high score 🏅

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages