Skip to content

Fun interactive snake game with a camera, implemented in python

Notifications You must be signed in to change notification settings

TheGitSlender/Interactive_Snake_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Interactive_Snake_Game

Fun interactive snake game with a camera, implemented in python using PyGame and OpenCV.

Setup

This implementation was used on: OS: Windows 11 23H2 Python Version: Python 3.11.0

Make sure to install all python packages from requirements.txt

Run the code in your editor, open your camera and have fun!

How to play

After running the code, the snake game window will open and a 60 seconds timer will start.

A camera window will start right after that, containing a blank screen with 9 separated areas. The camera follows the index point of your hand, so make sure that your hand is clearly visible to the camera at a right angle.

As the timer reaches 0, you can start again by pressing c or quit by pressing q.

Try to beat my high-score (14), and Have FUN!

About

Fun interactive snake game with a camera, implemented in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages