Skip to content

DareFail/Handland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HandLand

Welcome to HandLand! A platform to create live AI multiplayer games using WebRTC, Websockets, and Roboflow for AI vision models.

Live Demo

HandLand.lol

Features

  • Backend: Simple Express JS server
  • Multiplayer: WebRTC and native Websockets
  • AI Vision: Integrated with Roboflow (sponsored project)

Getting Started

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.

Prerequisites

  1. Get a free API key from Roboflow to use their vision models.
  2. Paste into each game main.js file here
var publishable_key = "YOUR_ROBOFLOW_KEY_HERE";

Installation

  1. Clone the repo
    git clone https://github.com/darefail/HandLand.git
    cd HandLand
  2. Install dependencies
    npm install
  3. Start the server
    npm start

Included Games

HandLand comes with three complete two-player games:

  1. Rock, Paper, Scissors
  2. Staring Contest
  3. 007 (Standoff or Block, Reload, Shoot, and Shotgun)

Deployment

Vercel

  1. Sign up or log in to Vercel.
  2. Create a new project from the Vercel dashboard.
  3. Connect your GitHub repository.
  4. Click "Deploy".

Heroku

  1. Sign up or log in to Heroku.
  2. Create a new app from the Heroku dashboard.
  3. Connect your GitHub repository.
  4. Click "Deploy Branch".

Acknowledgements

  • Thanks to Roboflow for sponsoring this project. Get your free API key at: Roboflow

License

Distributed under the APACHE 2.0 License. See LICENSE for more information.

Contact

Twitter: @darefailed

Youtube: How to Video coming soon

Project Link: https://github.com/darefail/handland

About

Make silly multiplayer games that involve your hands and body

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors