0
0
Fork 0
Commit graph

159 commits

Author SHA1 Message Date
Oliver-Akins
1e1322a37f Update source in the 404 error 2020-12-27 13:28:54 -07:00
Oliver-Akins
bd6ab5e02e Implement NewHand event. 2020-12-27 13:24:58 -07:00
Oliver-Akins
e19fb1ef3a Update the team object + docs 2020-12-27 13:11:02 -07:00
Oliver-Akins
69376e51f7 Implement the GetPastQuestions event. 2020-12-27 13:08:26 -07:00
Oliver-Akins
727e41f2b0 Add game_code to payloads that were missing it. 2020-12-27 13:03:51 -07:00
Oliver-Akins
708de802a4 Register event listeners 2020-12-26 14:45:37 -07:00
Oliver-Akins
9e384f7826 Update the UpdatePlayer event data to more accurately the data payloads. 2020-12-26 14:43:55 -07:00
Oliver-Akins
624ebf123e Add an interface for the GameRejoined response 2020-12-26 14:43:17 -07:00
Oliver-Akins
0fc1b79408 Add event data for the DeleteGame event 2020-12-26 14:42:59 -07:00
Oliver-Akins
f37fc5fb4d Add writer_name and guesser_name to the config 2020-12-26 14:42:37 -07:00
Oliver-Akins
6cd07c864d Implement UpdatePlayer event 2020-12-26 14:42:17 -07:00
Oliver-Akins
089cae940d Implement JoinGame 2020-12-26 14:38:48 -07:00
Oliver-Akins
330c21ab53 Begin on the event code for DeleteGame 2020-12-26 14:38:21 -07:00
Oliver-Akins
b546123bc9 Adjust order of operations to set host property of Game. 2020-12-26 14:37:55 -07:00
Oliver-Akins
8812982747 Allow writer to be null. 2020-12-26 14:37:14 -07:00
Oliver-Akins
4ca10aadf2 Add a host attribute 2020-12-26 14:36:32 -07:00
Oliver-Akins
b06502d32a Update docs to match adjusted objects 2020-12-26 14:36:14 -07:00
Oliver-Akins
7b4c39b740 Update docs for the UpdatePlayer event 2020-12-26 13:56:49 -07:00
Oliver-Akins
3c043862e8 Export the conf from the main and add a games object 2020-12-24 21:59:11 -07:00
Oliver-Akins
561a3d28aa Add code to validate different data 2020-12-24 21:57:23 -07:00
Oliver-Akins
1b452d2f1b Add type aliases for the two decks. 2020-12-24 21:57:06 -07:00
Oliver-Akins
acd712e572 Remove IDs from the data objects. 2020-12-24 21:56:22 -07:00
Oliver-Akins
09c61f77bd Adjust config type 2020-12-24 21:53:11 -07:00
Oliver-Akins
0895755523 Create Game object 2020-12-24 21:52:00 -07:00
Oliver-Akins
3d2732077d Create Team object 2020-12-24 21:51:49 -07:00
Oliver-Akins
cb50f3a1aa Create Deck object 2020-12-24 21:51:11 -07:00
Oliver-Akins
e2ba845299 Create Player object 2020-12-24 21:50:48 -07:00
Oliver-Akins
eee45018c5 Implement CreateGame event 2020-12-24 21:50:34 -07:00
Oliver-Akins
d84567cc3a Add csv-parser to the deps 2020-12-24 21:50:22 -07:00
Oliver-Akins
5f9318f4e5 Change tsc build file 2020-12-24 21:47:17 -07:00
Oliver-Akins
4927d9ac5a Change wrapper types to primitive types. 2020-12-24 20:10:19 -07:00
Oliver-Akins
878ccd1ed8 Init file for the webserver 2020-12-23 12:39:51 -07:00
Oliver-Akins
bd924c1816 Add modules we need. 2020-12-23 12:39:39 -07:00
Oliver-Akins
e542f3305d Init executable files for the events 2020-12-23 12:39:03 -07:00
Oliver-Akins
8e95c14b6a Intial websocket server creation 2020-12-23 12:38:39 -07:00
Oliver-Akins
5b487b2530 Update docs for SendCard's response 2020-12-23 12:37:53 -07:00
Oliver-Akins
0971ffd150 Combine the JoinTeam event to the UpdatePlayer event 2020-12-23 12:37:31 -07:00
Oliver-Akins
b1c161dcb3 Add data types for data payloads for the events 2020-12-23 12:36:56 -07:00
Oliver-Akins
7b2a5eeda4 Add initial config type 2020-12-23 12:36:33 -07:00
Oliver-Akins
e3b8a57196 Add template config file. 2020-12-20 15:47:04 -07:00
Oliver-Akins
a6d87a0cc3 Add socket.io to the package 2020-12-20 15:43:26 -07:00
Oliver-Akins
ea48b8f82d Add package.json, pnpm lock, and tsconfig 2020-12-20 15:30:35 -07:00
Oliver-Akins
2ca4eef0a6 Move event and type docs into their own files. 2020-12-19 18:01:36 -07:00
Oliver-Akins
20a9c39bb3 Change to using the UpdateHand event rather than the mess of events that it was before. 2020-12-19 15:54:01 -07:00
Oliver-Akins
1879ef2d69 Adjust object types. 2020-12-19 15:53:35 -07:00
Oliver-Akins
351318ece4 Update the types for the objects. 2020-12-16 18:53:10 -07:00
Oliver-Akins
00d5b7f4f4 Add docs for the RemoveCard event 2020-12-16 18:23:31 -07:00
Oliver-Akins
ebfc1f5855 Update the response event for SendCard 2020-12-16 18:23:05 -07:00
Oliver-Akins
63037a78c3 Add docs for NewHand 2020-12-16 18:05:00 -07:00
Oliver-Akins
8581929235 Remove extra newline 2020-12-16 17:25:17 -07:00