0
0
Fork 0

Commit graph

  • 69ef805b65 Remove CSV-parser Oliver-Akins 2021-01-01 16:08:15 -07:00
  • 00e78b60c0 Update loading the permitted hosts in the websocket server Oliver-Akins 2021-01-01 16:07:26 -07:00
  • e54adf03c3 Update validation check for permitted hosts Oliver-Akins 2021-01-01 16:07:06 -07:00
  • a86f02c1cf Update some types Oliver-Akins 2021-01-01 16:06:44 -07:00
  • ffc82fbb98 Set to and from to be optional Oliver-Akins 2021-01-01 16:06:28 -07:00
  • 264125c772 Update resoonse name Oliver-Akins 2021-01-01 16:06:12 -07:00
  • 4fe7ba7727 Allow role and team to be null for players Oliver-Akins 2021-01-01 16:05:51 -07:00
  • 0fdd11b836 Move where the permitted_hosts is Oliver-Akins 2021-01-01 16:05:33 -07:00
  • eca3b1d5f9 Add an id attribute and default the guessers array Oliver-Akins 2021-01-01 16:05:16 -07:00
  • fc298f30d4 Add properties for role and team Oliver-Akins 2021-01-01 16:04:49 -07:00
  • 769078f70b Update imports Oliver-Akins 2021-01-01 16:04:30 -07:00
  • 728522986a Move card drawing for the teams Oliver-Akins 2021-01-01 16:04:19 -07:00
  • 3a765ca1e8 Default players to an empty array Oliver-Akins 2021-01-01 16:03:42 -07:00
  • 5ce7735d8f Add attribute for getting an array of players and their roles. Oliver-Akins 2021-01-01 16:03:03 -07:00
  • aed8f3972c Make CSV parsing actually work. Oliver-Akins 2021-01-01 16:02:46 -07:00
  • 8b2b360621 Fix the deck being set to the single card we're removing Oliver-Akins 2021-01-01 16:01:31 -07:00
  • 06aabcf74e Update error events Oliver-Akins 2021-01-01 16:01:02 -07:00
  • 958d8a1382 Add case where the player is just joining a team for the first time. Oliver-Akins 2021-01-01 16:00:31 -07:00
  • 5dbf3e1d15 Add logging Oliver-Akins 2021-01-01 15:59:51 -07:00
  • 16aab9a664 Update response event name for erroring Oliver-Akins 2021-01-01 15:57:21 -07:00
  • 580382b7b2 Change error events to the main event response name. Oliver-Akins 2021-01-01 15:55:51 -07:00
  • 7f93f2730c Send a player list back when the game is created or joined Oliver-Akins 2021-01-01 15:54:47 -07:00
  • 33608a9849 Add CSV files to the resources directory Oliver-Akins 2021-01-01 15:53:41 -07:00
  • e28cca036b Add player lists to the response of the create/join game event Oliver-Akins 2021-01-01 13:36:11 -07:00
  • b6e3bd83d5 Adjust what data is in the store by default Oliver-Akins 2021-01-01 12:56:46 -07:00
  • 367fb7b274 Only use vuex-persist in production so that we don't have it saving in development Oliver-Akins 2021-01-01 12:56:06 -07:00
  • 3df1218ebb Add mutations that we'll need so vuex-persist actually works Oliver-Akins 2021-01-01 12:55:36 -07:00
  • 8caac8812e Implement all the socket logic for Creating/Joining games Oliver-Akins 2021-01-01 12:55:05 -07:00
  • 87d83c33cf Add an error bar to the site Oliver-Akins 2021-01-01 12:54:33 -07:00
  • 67849abfeb Add top-slide animation Oliver-Akins 2020-12-31 12:57:52 -07:00
  • e71c58c78a Implement UpdateAnswer Oliver-Akins 2020-12-27 15:33:15 -07:00
  • f92aa28e88 Update the config hostname to allow an array of strings for CORS Oliver-Akins 2020-12-27 15:33:02 -07:00
  • e42101710e Change the type from number to be the specific answer type. Oliver-Akins 2020-12-27 15:15:06 -07:00
  • db22f360fc Add semicolons. Oliver-Akins 2020-12-27 15:12:16 -07:00
  • a939194d01 Update doc for SendCard Oliver-Akins 2020-12-27 15:12:05 -07:00
  • 5f39ae63ff Add selectQuestion for when the writer selects a question. Oliver-Akins 2020-12-27 15:11:51 -07:00
  • 39f5e2bf43 Join/Leave the player from the team and role rooms Oliver-Akins 2020-12-27 15:10:48 -07:00
  • da7469b2c5 Add check for the writer role being filled already Oliver-Akins 2020-12-27 15:09:22 -07:00
  • e33148169e Update the source in the error response Oliver-Akins 2020-12-27 15:08:32 -07:00
  • 19f02c60b2 Adjust method call for the team hand updating Oliver-Akins 2020-12-27 15:07:39 -07:00
  • 1a810185ca Implement the SendCard event. Oliver-Akins 2020-12-27 15:06:58 -07:00
  • b005aed669 Add game_code to the SendCard payload. Oliver-Akins 2020-12-27 13:39:39 -07:00
  • 4b2a13460d Implement SelectObject event. Oliver-Akins 2020-12-27 13:36:48 -07:00
  • e3fbf16e9c Implement the ObjectList event Oliver-Akins 2020-12-27 13:29:12 -07:00
  • 1e1322a37f Update source in the 404 error Oliver-Akins 2020-12-27 13:28:54 -07:00
  • bd6ab5e02e Implement NewHand event. Oliver-Akins 2020-12-27 13:24:58 -07:00
  • e19fb1ef3a Update the team object + docs Oliver-Akins 2020-12-27 13:11:02 -07:00
  • 69376e51f7 Implement the GetPastQuestions event. Oliver-Akins 2020-12-27 13:08:26 -07:00
  • 727e41f2b0 Add game_code to payloads that were missing it. Oliver-Akins 2020-12-27 13:03:51 -07:00
  • 708de802a4 Register event listeners Oliver-Akins 2020-12-26 14:45:37 -07:00
  • 9e384f7826 Update the UpdatePlayer event data to more accurately the data payloads. Oliver-Akins 2020-12-26 14:43:55 -07:00
  • 624ebf123e Add an interface for the GameRejoined response Oliver-Akins 2020-12-26 14:43:17 -07:00
  • 0fc1b79408 Add event data for the DeleteGame event Oliver-Akins 2020-12-26 14:42:59 -07:00
  • f37fc5fb4d Add writer_name and guesser_name to the config Oliver-Akins 2020-12-26 14:42:37 -07:00
  • 6cd07c864d Implement UpdatePlayer event Oliver-Akins 2020-12-26 14:42:17 -07:00
  • 089cae940d Implement JoinGame Oliver-Akins 2020-12-26 14:38:48 -07:00
  • 330c21ab53 Begin on the event code for DeleteGame Oliver-Akins 2020-12-26 14:38:21 -07:00
  • b546123bc9 Adjust order of operations to set host property of Game. Oliver-Akins 2020-12-26 14:37:55 -07:00
  • 8812982747 Allow writer to be null. Oliver-Akins 2020-12-26 14:37:14 -07:00
  • 4ca10aadf2 Add a host attribute Oliver-Akins 2020-12-26 14:36:32 -07:00
  • b06502d32a Update docs to match adjusted objects Oliver-Akins 2020-12-26 14:36:14 -07:00
  • 7b4c39b740 Update docs for the UpdatePlayer event Oliver-Akins 2020-12-26 13:56:49 -07:00
  • 3c043862e8 Export the conf from the main and add a games object Oliver-Akins 2020-12-24 21:59:11 -07:00
  • 561a3d28aa Add code to validate different data Oliver-Akins 2020-12-24 21:57:23 -07:00
  • 1b452d2f1b Add type aliases for the two decks. Oliver-Akins 2020-12-24 21:57:06 -07:00
  • acd712e572 Remove IDs from the data objects. Oliver-Akins 2020-12-24 21:56:22 -07:00
  • 09c61f77bd Adjust config type Oliver-Akins 2020-12-24 21:53:11 -07:00
  • 0895755523 Create Game object Oliver-Akins 2020-12-24 21:52:00 -07:00
  • 3d2732077d Create Team object Oliver-Akins 2020-12-24 21:51:49 -07:00
  • cb50f3a1aa Create Deck object Oliver-Akins 2020-12-24 21:51:11 -07:00
  • e2ba845299 Create Player object Oliver-Akins 2020-12-24 21:50:48 -07:00
  • eee45018c5 Implement CreateGame event Oliver-Akins 2020-12-24 21:50:34 -07:00
  • d84567cc3a Add csv-parser to the deps Oliver-Akins 2020-12-24 21:50:22 -07:00
  • 5f9318f4e5 Change tsc build file Oliver-Akins 2020-12-24 21:47:17 -07:00
  • 4927d9ac5a Change wrapper types to primitive types. Oliver-Akins 2020-12-24 20:10:19 -07:00
  • e7d65aa99b Update gitignore to built JS files Oliver-Akins 2020-12-23 12:41:30 -07:00
  • 31557e5ccf Add Vue-socket.io-extended to the site. Oliver-Akins 2020-12-23 12:41:09 -07:00
  • 4d598201c7 Add Error listener Oliver-Akins 2020-12-23 12:40:25 -07:00
  • 8dce2a4284 Trigger CreateGame event Oliver-Akins 2020-12-23 12:40:10 -07:00
  • 878ccd1ed8 Init file for the webserver Oliver-Akins 2020-12-23 12:39:51 -07:00
  • bd924c1816 Add modules we need. Oliver-Akins 2020-12-23 12:39:39 -07:00
  • e542f3305d Init executable files for the events Oliver-Akins 2020-12-23 12:39:03 -07:00
  • 8e95c14b6a Intial websocket server creation Oliver-Akins 2020-12-23 12:38:39 -07:00
  • 5b487b2530 Update docs for SendCard's response Oliver-Akins 2020-12-23 12:37:53 -07:00
  • 0971ffd150 Combine the JoinTeam event to the UpdatePlayer event Oliver-Akins 2020-12-23 12:37:31 -07:00
  • b1c161dcb3 Add data types for data payloads for the events Oliver-Akins 2020-12-23 12:36:56 -07:00
  • 7b2a5eeda4 Add initial config type Oliver-Akins 2020-12-23 12:36:33 -07:00
  • 28065831c4 Add object reminder for spirits Oliver-Akins 2020-12-20 20:05:43 -07:00
  • db027cde77 Make discard hand component have proper UI. Oliver-Akins 2020-12-20 17:36:01 -07:00
  • 2c1b41565a Remove unused CSS Oliver-Akins 2020-12-20 17:33:35 -07:00
  • 6671b873b4 Listen for changes in the show property so we can reset the content data value. Oliver-Akins 2020-12-20 17:33:22 -07:00
  • 6b6af7b50b Instead of unset class, use unclickable if the modal isn't closable Oliver-Akins 2020-12-20 17:32:57 -07:00
  • 0c1d5892e7 Make the attribution bar not make the bottom corner buttons not clickable Oliver-Akins 2020-12-20 16:23:13 -07:00
  • cd675f6597 Add trash icon to the configuration file. Oliver-Akins 2020-12-20 16:22:31 -07:00
  • fb652567ec Add trash icon Oliver-Akins 2020-12-20 16:22:09 -07:00
  • e3b8a57196 Add template config file. Oliver-Akins 2020-12-20 15:47:04 -07:00
  • 82c89a7821 Update the gitignore to the server config file. Oliver-Akins 2020-12-20 15:45:31 -07:00
  • a6d87a0cc3 Add socket.io to the package Oliver-Akins 2020-12-20 15:43:26 -07:00
  • 10e9dea3ef Add socket.io and TOML to the attributions modal Oliver-Akins 2020-12-20 15:37:15 -07:00
  • 3c7f5e5376 Change default view back to login. Oliver-Akins 2020-12-20 15:36:32 -07:00