Welcome to HandLand! A platform to create live AI multiplayer games using WebRTC, Websockets, and Roboflow for AI vision models.
- Backend: Simple Express JS server
- Multiplayer: WebRTC and native Websockets
- AI Vision: Integrated with Roboflow (sponsored project)
This is a template for making silly multiplayer games that involve your hands and body. You can submit new games to the repo and I will host them.
The files are very short so you can mess around with them and make new games or just learn how websockets work. It has the most basic matchmaking possible as well as a shareable links - whoever has the same link as you will be in your "room".
HandLand can be uploaded as is to popular cloud platforms like Vercel or Heroku.
- Get a free API key from Roboflow to use their vision models.
- Paste into each game main.js file here
var publishable_key = "YOUR_ROBOFLOW_KEY_HERE";
- Clone the repo
git clone https://github.com/darefail/HandLand.git cd HandLand - Install dependencies
npm install
- Start the server
npm start
HandLand comes with three complete two-player games:
- Rock, Paper, Scissors
- Staring Contest
- 007 (Standoff or Block, Reload, Shoot, and Shotgun)
- Sign up or log in to Vercel.
- Create a new project from the Vercel dashboard.
- Connect your GitHub repository.
- Click "Deploy".
- Sign up or log in to Heroku.
- Create a new app from the Heroku dashboard.
- Connect your GitHub repository.
- Click "Deploy Branch".
- Thanks to Roboflow for sponsoring this project. Get your free API key at: Roboflow
Distributed under the APACHE 2.0 License. See LICENSE for more information.
Twitter: @darefailed
Youtube: How to Video coming soon
Project Link: https://github.com/darefail/handland