Commit graph

124 commits

Author SHA1 Message Date
Oliver-Akins
7696de2284 Add data for storing the game objects and JSON data on exit 2020-09-29 22:57:09 -06:00
Oliver-Akins
4f00510401 Update import order 2020-09-29 17:20:02 -06:00
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
76cf2e0686 Target ES2020 for compilation 2020-09-29 16:29:24 -06:00
Oliver-Akins
accc992b0b Add database folder to gitignore (allow example file) 2020-09-28 23:10:52 -06:00
Oliver-Akins
49d401a7bc Add example database. 2020-09-28 23:10:34 -06:00
Oliver-Akins
e321f33a69 Add basic command handlers for all current events 2020-09-28 23:09:16 -06:00
Oliver-Akins
98d4c25e7e Update tsconfig 2020-09-28 23:08:49 -06:00
Oliver-Akins
b3c0dfbddf Update package.json and lock file 2020-09-28 23:08:38 -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
4ac0fb2833 Add documentation relating to the event information 2020-09-20 22:00:46 -06:00
Oliver-Akins
8a1facf59d Add package, pnpm lock, and tsconfig. 2020-09-20 22:00:27 -06:00
Oliver-Akins
69ec651f6d Initialize typescript files. 2020-09-20 21:59:50 -06:00
Oliver
85e22dd4d9
Initial commit 2020-09-19 21:34:16 -06:00