Skip to content

kumarpriyanshu2k2/OpenCV_snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game in OpenCV

Game preview

alt text for screen readers

Steps to install this game locally

Make sure you have Python installed on your system. clone the repository into your local system.

git clone https://github.com/kumarpriyanshu2k2/OpenCV_snake.git

go to the directory in which you have cloned this project.

cd ./OpenCV_snake

activate the virtual environment by running:

source myvenv/bin/activate

then install the required libraries using the following command:

pip install -r requirements.txt

now you have installed all the required files, you can execute main.py

python3 main.py

To exit the game you will have to kill it from the terminal by pressing

  • ctrl + c

To restart the game from the window itself press.

  • R on the keyboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published