Skip to content

Eritrix/Snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game (Pygame)

A simple Snake game built using Python and Pygame.

Features

  • Snake movement (WASD)
  • Food and score system
  • Self collision
  • Wrapping around world
  • Game over screen
  • Restart with ENTER
  • Quit with window close button

How to Run

for running with virtual environment(optional but recommended)----
-----------
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python main.py

for running without virtual environment----
------------
pip install -r requirements.txt
python main.py

About

It is a simple snake game based on python and using pygame, it needs a lot of improvements...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages