0
0
Fork 0
Commit graph

42 commits

Author SHA1 Message Date
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
Oliver-Akins
75ec0f5c82 Add NewPlayer event documentation 2020-12-16 17:24:52 -07:00
Oliver-Akins
1fc2cf5405 Add Game type. 2020-12-16 16:18:05 -07:00
Oliver-Akins
e32fa47836 Add docs for the SelectObject event. 2020-12-16 16:17:52 -07:00
Oliver-Akins
988aa33589 Add docs for the GetPastQuestions event 2020-12-16 16:17:32 -07:00
Oliver-Akins
170e222573 Add docs for the SendCard event 2020-12-16 16:17:11 -07:00
Oliver-Akins
238b99b063 Add docs for UpdateAnswer event 2020-12-16 16:16:51 -07:00
Oliver-Akins
ee1f6f857b Add an additional datapoint in the error response 2020-12-16 16:16:31 -07:00
Oliver-Akins
3295747386 Update success from a boolean to an integer status 2020-12-16 12:25:10 -07:00
Oliver-Akins
83934e9c19 Begin on planning all of the Websocket events and their data payloads. 2020-12-15 21:48:51 -07:00