Skip to content

Gesture Controlled Snake-Game with Pygame, OpenCV, Keras (teachable-machine-with-google)

Notifications You must be signed in to change notification settings

Theob0t/Gesture-Controlled-Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Gesture Gaming 🐍

Gesture Controlled Snake Game

with Pygame, OpenCV and Keras

🎯 PROJECT GOAL

The goal of the project is to create a Gesture Conrtolled Snake game for Windows machine.

📝 REQUIREMENTS

Software:

  • Welcome Menu (select difficulty)
  • Display current score and store best score locally
  • User plays using gesture (on camera/webcam)

alt text alt text


















Rules:

  • Snake starts in the center of the screen with size of 10x10 pixels
  • Place food somewhere randomly in the screen
  • Food size is 10x10 pixels
  • Snake can move up, down, right and left
  • When Snake eat food it grows of one block (10x10 pixels)
  • Snake dies if it hits itself or a border of the screen

Capture gestures and predict the move:

  • Using OpenCV library you can open your webcam and save each new frame into a jpeg

alt text


  • Use this jpeg as an input for the neural network model

alt text


alt text


About

Gesture Controlled Snake-Game with Pygame, OpenCV, Keras (teachable-machine-with-google)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages