Skip to content

Wout-M/react-face-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Face Snake

Play the famous game Snake in a whole new way, with the position of your face, hosted on Netlify.

This version of Snake was inspired by the game made by Paruby

About the project

The game makes use of the Tiny Face Detector model of face-api.js (which is built on top of TensorFlow.js) to detect the position of your face in the webcam. This will move the snake left/right/up/down.

Unlike the actual Snake game, touching the snake itself again does not end the game since otherwise the game would be too hard with the way it is controlled.

Built With

Roadmap

  • Modernize the project from its initial state
  • Host the site on Netlify
  • Use TensorFlow.js directly instead of face-api.js
  • Add mobile support (if possible)