Commit graph

14 commits

Author SHA1 Message Date
Oliver-Akins
b0117ed6fe Add toString override for debugging purposes. 2020-09-29 17:07:28 -06:00
Oliver-Akins
661f52292e Initial game class. 2020-09-29 16:39:52 -06:00
Oliver-Akins
169105f400 Add type alias for the players object. 2020-09-29 16:39:35 -06:00
Oliver-Akins
549383b529 Allow role to be undefined. 2020-09-29 16:34:31 -06:00
Oliver-Akins
814c291443 Update player object and example JSON 2020-09-29 16:33:01 -06:00
Oliver-Akins
e321f33a69 Add basic command handlers for all current events 2020-09-28 23:09:16 -06:00
Oliver-Akins
6b1e95e800 Add code to handle socket connections and listen for events 2020-09-28 23:07:57 -06:00
Oliver-Akins
44782f3e85 Add utility to generate a random game code. 2020-09-28 23:07:19 -06:00
Oliver-Akins
de8b4a1b62 Add database module 2020-09-28 23:06:51 -06:00
Oliver-Akins
5c386eb416 Add database types 2020-09-28 23:06:33 -06:00
Oliver-Akins
a1058444a9 Add request datatypes for hosting and joining a game 2020-09-28 23:06:19 -06:00
Oliver-Akins
8a9adb21f0 Add code to handle the HostGame event 2020-09-28 23:05:43 -06:00
Oliver-Akins
11c671ef25 Add function to handle the request for the player list. 2020-09-28 23:05:22 -06:00
Oliver-Akins
69ec651f6d Initialize typescript files. 2020-09-20 21:59:50 -06:00