0
0
Fork 0
Commit graph

75 commits

Author SHA1 Message Date
Oliver-Akins
33608a9849 Add CSV files to the resources directory 2021-01-01 15:53:41 -07:00
Oliver-Akins
e28cca036b Add player lists to the response of the create/join game event 2021-01-01 13:36:11 -07:00
Oliver-Akins
e71c58c78a Implement UpdateAnswer 2020-12-27 15:33:15 -07:00
Oliver-Akins
f92aa28e88 Update the config hostname to allow an array of strings for CORS 2020-12-27 15:33:02 -07:00
Oliver-Akins
e42101710e Change the type from number to be the specific answer type. 2020-12-27 15:15:06 -07:00
Oliver-Akins
db22f360fc Add semicolons. 2020-12-27 15:12:16 -07:00
Oliver-Akins
a939194d01 Update doc for SendCard 2020-12-27 15:12:05 -07:00
Oliver-Akins
5f39ae63ff Add selectQuestion for when the writer selects a question. 2020-12-27 15:11:51 -07:00
Oliver-Akins
39f5e2bf43 Join/Leave the player from the team and role rooms 2020-12-27 15:10:48 -07:00
Oliver-Akins
da7469b2c5 Add check for the writer role being filled already 2020-12-27 15:09:22 -07:00
Oliver-Akins
e33148169e Update the source in the error response 2020-12-27 15:08:32 -07:00
Oliver-Akins
19f02c60b2 Adjust method call for the team hand updating 2020-12-27 15:07:39 -07:00
Oliver-Akins
1a810185ca Implement the SendCard event. 2020-12-27 15:06:58 -07:00
Oliver-Akins
b005aed669 Add game_code to the SendCard payload. 2020-12-27 13:39:39 -07:00
Oliver-Akins
4b2a13460d Implement SelectObject event. 2020-12-27 13:36:48 -07:00
Oliver-Akins
e3fbf16e9c Implement the ObjectList event 2020-12-27 13:29:12 -07:00
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