0
0
Fork 0
Commit graph

374 commits

Author SHA1 Message Date
Oliver-Akins
06aabcf74e Update error events 2021-01-01 16:01:02 -07:00
Oliver-Akins
958d8a1382 Add case where the player is just joining a team for the first time. 2021-01-01 16:00:31 -07:00
Oliver-Akins
5dbf3e1d15 Add logging 2021-01-01 15:59:51 -07:00
Oliver-Akins
16aab9a664 Update response event name for erroring 2021-01-01 15:57:21 -07:00
Oliver-Akins
580382b7b2 Change error events to the main event response name. 2021-01-01 15:55:51 -07:00
Oliver-Akins
7f93f2730c Send a player list back when the game is created or joined 2021-01-01 15:54:47 -07:00
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
b6e3bd83d5 Adjust what data is in the store by default 2021-01-01 12:56:46 -07:00
Oliver-Akins
367fb7b274 Only use vuex-persist in production so that we don't have it saving in development 2021-01-01 12:56:06 -07:00
Oliver-Akins
3df1218ebb Add mutations that we'll need so vuex-persist actually works 2021-01-01 12:55:36 -07:00
Oliver-Akins
8caac8812e Implement all the socket logic for Creating/Joining games 2021-01-01 12:55:05 -07:00
Oliver-Akins
87d83c33cf Add an error bar to the site 2021-01-01 12:54:33 -07:00
Oliver-Akins
67849abfeb Add top-slide animation 2020-12-31 12:57:52 -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