Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
handysnake
images
LICENSE
README.md
requirements.txt

README.md

Handy Snake

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

  • Prerequisites
  • Installation
  • Requirements
  • How to Run?
  • Images
  • Contribution
  • License

Prerequisites

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

Installation

Clone the base repository onto your desktop with git as follows

$ git clone git@github.com:teamAlspark/handysnake

Requirements

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?

Run the SnakeGame.py file using the following command

$ python SnakeGame.py

Open the game controller using the following command

$ python GameController.py

Images

HandySnake Controller RunningGame GameOver

License

MIT

Contributors

You can’t perform that action at this time.