Skip to content

USC-CSCI527-Spring2021/The-Snake-Game

Repository files navigation

The-Snake-Game

This program can be used to play a Snake Game (or like it) by detecting hand gestures to control movement of the snake on the screen. It has been implemented in Python. Although, the demo shown here refers to playing a Snake Game, it can be used to play any game or control any application using hand gestures only. This program shall be used to play a Snake Game by detecting hand gestures to control movement of the snake on the screen. The game also can be played using voice commands. This was achievied using Porcupine SDK. For more info, refer "https://github.com/Picovoice/porcupine The UI of the snake was build with PyautoGUI and OPENGL

Watch on Youtube

[Gesture and Voice Controlled snake game] https://youtu.be/BVTkinlbrAA)

Getting Started

Prerequisites

The program depends on the following libraries-

numpy==1.15.2
imutils==0.5.1
PyAutoGUI==0.9.38
opencv_python==3.4.3.18
pygame==1.9.4

Installing

  1. Clone the repository in your local computer.
  2. Use python <filename.py> to run specific files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages