Skip to content

Control snake using 4 different images from webcam for each direction

Notifications You must be signed in to change notification settings

smpurkis/motion_controlled_snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game with webcam controls

TLDR: Use your webcam to control the snake in the game snake.

Demo

This is an implementation of the classic snake game, except with the controls of using whatever webcam image you wish.

This is part of me learning JS, React and Tensorflow JS, so the code isn't the best, it uses too much memory currently, and can be a bit inaccurate if the images are too similar.

snake_website_gif

TODO:

  • Finish this README
  • Reorder, potentially remove React reliance
  • Consume less memory

About

Control snake using 4 different images from webcam for each direction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published