Add data for storing the game objects and JSON data on exit

This commit is contained in:
Oliver-Akins 2020-09-29 22:57:09 -06:00
parent 4f00510401
commit 7696de2284

View file

@ -15,6 +15,9 @@ import { ExecutiveConfirmation } from "./events/special/ExecutiveConfirmation";
import { InvestigateAffiliation } from "./events/special/InvestigateLoyalty/InvestigateAffiliation";
export var active_games: {[key: string]: Game} = {};
const db_dir = `data`;
const io = sio.listen(3000);
io.on(`connection`, (socket: sio.Socket) => {