Skip to content

iamdelowershuvo/Classic-Snake-Pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classic Snake Game

A classic Snake game clone developed using Pygame.


Preview


Requirements

  • Python >= 3.11

  • Git Bash (Optional)


Installation

Open cmd or bash in the project directory.

  • Install Python virtual environment
pip install virtualenv
  • Create a virtual environment
virtualenv env

If a higher version of Python is not working, install Python 3.11. Then create a virtual environment.

virtualenv env --python=python3.11
  • Activate virtual environment

On Mac and Linux

source env/bin/activate

On Windows (If you are using cmd)

.\env\Scripts\activate

On Windows (If you are using Bash)

source env/Scripts/activate
  • Install dependencies
pip install -r requirements.txt

Run Locally

python main.py

License

MIT

About

A classic Snake game clone developed using Pygame.

Topics

Resources

License

Stars

Watchers

Forks

Languages