hackbox-server
A Jackbox inspired framework for creating party games - server component.
Usage
const hackbox = ;
Using Express
const express = ;const path = ;const hackbox = ;const gameReference = ; const port = processenvPORT || 8080;const app = ;app; app; ;
Game Reference
moduleexports = gameTypes: "demo" demo: gameLength: 60000 validActionIds: 0 1 description: `This is the description of the game. You have 60 seconds to compete` actions: 0: actionName: "action1" 1: actionName: "action2" ;