Controlling a battlesnake with a webcam, Replit, and your face
Battlesnake’s Brad Van Vugt:
This past spring on Coding Badly, Joe and I, for whatever reason, challenged ourselves to build a camera-controlled Battlesnake. The result was “Facesnake” – a Battlesnake controlled in real-time using your face and webcam. This post outlines how we built it using Replit and tracking.js :-)
You can also jump straight to the source code or watch Facesnake in action here.