@jayanth_raveendra
on
ARENA: Local Multiplayer Tic-Tac-Toe game
ARENA is a real-time multiplayer game where your face is your login. No passwords, no typing—just split-second biometric verification computed directly on your device’s GPU.
TECHNICAL HIGHLIGHTS:
🔹 Edge ML Biometrics: Uses face-api.js for zero-latency, client-side 128-d facial encoding.
🔹 Real-Time WebSockets: Live asynchronous matchmaking lobby and instant mid-game disconnect handling.
🔹 FIDE-Standard Elo: Mathematically calculates win probabilities and dynamically updates your global ranking.
🔹 Resilient Microservices: Fully containerized stack (FastAPI, Nginx, MySQL, MongoDB) with automated database retry loops.
HOW TO DEMO:
Because ARENA is a full-stack microservice architecture, it is too heavy for a free cloud host. My GitHub repository is the demo! To experience the magic on your own machine:
Clone the repo and add the .env variables.
Run "docker compose up --build -d" in your terminal.
Go to localhost:5500 in your browser and register your face!
(Want to play with friends on your Wi-Fi? The README has instructions on how to use ngrok to securely tunnel the Nginx proxy to their phones!)
- 1 devlog
- 7h