Handy Snake - A classic game with a new twist. The player controls movement of the snake by moving the object in desired direction. The game has been developed using pygame which is an open-source library for developing games using Python. The Game Controller is created using OpenCV which is a library used to implement real-time computer vision.
Table of contents
- How to Run?
The program makes use of the following libraries
numpy==1.15.2 PyAutoGUI==0.9.38 opencv_python==4.0.0 pygame==1.9.4
These libraries can be installed using
pip install -r requirement.txt
Clone the base repository onto your desktop with
git as follows
$ git clone email@example.com:teamAlspark/handysnake
Handy Snake requires a blue colored object to drive the snake on the screen. It also requires a robust web-cam.
How to run the game?
SnakeGame.py file using the following command
$ python SnakeGame.py
Open the game controller using the following command
$ python GameController.py