Commit graph

11 commits

Author SHA1 Message Date
Oliver-Akins
f43f36eb46 Add socket ID to player's information and remove host from initializer 2020-10-08 21:19:23 -06:00
Oliver-Akins
efa7540404 Condense the game object creation 2020-10-08 11:14:48 -06:00
Oliver-Akins
e3d9bc7e13 Add users to game room when they create a game. 2020-10-08 11:14:32 -06:00
Oliver-Akins
e8b9b41453 Pretty-print error on catching it 2020-10-06 23:14:49 -06:00
Oliver-Akins
b5f054f0b7 remove references for the DB 2020-10-05 12:11:26 -06:00
Oliver-Akins
c284735e5e Add needed import for Game object. 2020-10-02 16:50:31 -06:00
Oliver-Akins
564206dd8b Begin using the tslog module 2020-10-01 21:45:40 -06:00
Oliver-Akins
d2b6bfb54f Switch over to the Game object instead of DB
This is to prevent the shit tonne of race conditions that writing to disk would've cause.
2020-10-01 21:12:55 -06:00
Oliver-Akins
1380a7919b Update/add file headers for documentation purposes 2020-09-30 23:49:10 -06:00
Oliver-Akins
8a9adb21f0 Add code to handle the HostGame event 2020-09-28 23:05:43 -06:00
Oliver-Akins
69ec651f6d Initialize typescript files. 2020-09-20 21:59:50 -06:00