0
0
Fork 0
Commit graph

497 commits

Author SHA1 Message Date
Oliver-Akins
4ad2f0f13e Adjust game URL to copy and remove unused parameter 2021-01-01 19:52:58 -07:00
Oliver-Akins
fb6cfd8218 Add players array and related mutations. 2021-01-01 16:10:30 -07:00
Oliver-Akins
6cd11b7563 Add vue-clipboard2 to the system 2021-01-01 16:10:11 -07:00
Oliver-Akins
f31341ffd8 Add players array and related mutations 2021-01-01 16:09:40 -07:00
Oliver-Akins
dd365dde86 Adjust prop names and add event distribution 2021-01-01 16:09:21 -07:00
Oliver-Akins
66518cebaa Add the listeners for websocket events. 2021-01-01 16:08:58 -07:00
Oliver-Akins
a1e66da5dc Add vue-clipboard2 2021-01-01 16:08:26 -07:00
Oliver-Akins
69ef805b65 Remove CSV-parser 2021-01-01 16:08:15 -07:00
Oliver-Akins
00e78b60c0 Update loading the permitted hosts in the websocket server 2021-01-01 16:07:26 -07:00
Oliver-Akins
e54adf03c3 Update validation check for permitted hosts 2021-01-01 16:07:06 -07:00
Oliver-Akins
a86f02c1cf Update some types 2021-01-01 16:06:44 -07:00
Oliver-Akins
ffc82fbb98 Set to and from to be optional 2021-01-01 16:06:28 -07:00
Oliver-Akins
264125c772 Update resoonse name 2021-01-01 16:06:12 -07:00
Oliver-Akins
4fe7ba7727 Allow role and team to be null for players 2021-01-01 16:05:51 -07:00
Oliver-Akins
0fdd11b836 Move where the permitted_hosts is 2021-01-01 16:05:33 -07:00
Oliver-Akins
eca3b1d5f9 Add an id attribute and default the guessers array 2021-01-01 16:05:16 -07:00
Oliver-Akins
fc298f30d4 Add properties for role and team 2021-01-01 16:04:49 -07:00
Oliver-Akins
769078f70b Update imports 2021-01-01 16:04:30 -07:00
Oliver-Akins
728522986a Move card drawing for the teams 2021-01-01 16:04:19 -07:00
Oliver-Akins
3a765ca1e8 Default players to an empty array 2021-01-01 16:03:42 -07:00
Oliver-Akins
5ce7735d8f Add attribute for getting an array of players and their roles. 2021-01-01 16:03:03 -07:00
Oliver-Akins
aed8f3972c Make CSV parsing actually work. 2021-01-01 16:02:46 -07:00
Oliver-Akins
8b2b360621 Fix the deck being set to the single card we're removing 2021-01-01 16:01:31 -07:00
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