0
0
Fork 0
Commit graph

309 commits

Author SHA1 Message Date
Oliver-Akins
e6330f1ae4 Remove unused config properties 2021-01-03 16:32:42 -07:00
Oliver-Akins
4a9092bedb Use proper CSV parsing. 2021-01-03 16:30:26 -07:00
Oliver-Akins
52ec31eb0b Update error emits and change the hand drawing method. 2021-01-03 16:30:06 -07:00
Oliver-Akins
41d1a4f4d9 Adjust error response event name. 2021-01-03 16:16:53 -07:00
Oliver-Akins
b0b8b1296e Implement a GetHand event. 2021-01-03 16:16:28 -07:00
Oliver-Akins
0abb127f8e Migrate button styles to the general document 2021-01-03 16:04:14 -07:00
Oliver-Akins
62ba5364a1 Add state commits for hand modifications. 2021-01-03 16:00:00 -07:00
Oliver-Akins
d639ed4a48 Update hand to display the most recent question when the hand area until they receive a new card from the mediums. 2021-01-03 15:59:12 -07:00
Oliver-Akins
1eac963bc5 Get questions from server. 2021-01-03 15:55:35 -07:00
Oliver-Akins
29514da442 Bubble error event 2021-01-03 15:55:21 -07:00
Oliver-Akins
6bb5fc322f Add CSV parser 2021-01-03 15:55:03 -07:00
Oliver-Akins
9743e1a53a Update config to nest card information within a separate object. 2021-01-03 00:44:19 -07:00
Oliver-Akins
f6a8495316 Adjust config template to be updated with the testing config + type def 2021-01-03 00:43:25 -07:00
Oliver-Akins
6be700d37c Update type signature of the objects array before population. 2021-01-03 00:07:44 -07:00
Oliver-Akins
125b941f55 Allow there to be multiple columns in the question CSV, but only grab the first column. 2021-01-03 00:07:24 -07:00
Oliver-Akins
01ea91e856 Add an event listener for GameRejoined. 2021-01-03 00:06:45 -07:00
Oliver-Akins
3abec8ccda Implement UpdateAnswer functionality on the client 2021-01-03 00:06:29 -07:00
Oliver-Akins
f602f78604 Register UpdateAnswer event. 2021-01-03 00:05:53 -07:00
Oliver-Akins
d262dd3691 Change log level. 2021-01-03 00:05:40 -07:00
Oliver-Akins
fab77b06b4 Fix bug that would remove the player from the general role room if they were switching from one team to the other, but remaining in the same role. 2021-01-03 00:05:22 -07:00
Oliver-Akins
23946e8bc1 Update event emission for errors. 2021-01-03 00:04:26 -07:00
Oliver-Akins
911508b287 Add error bubbling to the in-game components. 2021-01-02 18:54:06 -07:00
Oliver-Akins
45a9d3db45 Make the response use the expected property name 2021-01-02 18:53:48 -07:00
Oliver-Akins
8162396c5d Implement object selection on the client side. 2021-01-02 18:53:14 -07:00
Oliver-Akins
34e1a19a64 Fix bug that allowed people to start games when cancelling the name entry. 2021-01-02 18:37:05 -07:00
Oliver-Akins
14cda8a50f Add setObject state mutation. 2021-01-02 18:36:41 -07:00
Oliver-Akins
88739a8baf Register SelectObject and ObjectList event listeners. 2021-01-02 18:36:22 -07:00
Oliver-Akins
3ab0d69119 Change "object" to "choice" to match data from client. 2021-01-02 18:35:29 -07:00
Oliver-Akins
41faf15d24 Correct multiple issues (see detailed description)
1) Not including a status in the 200 response
2) Emitting errors on "Error" instead of "ChosenObject"
3) Using "data.object" instead of "data.choice"
2021-01-02 18:35:11 -07:00
Oliver-Akins
8ab9f558f6 Update logs to not be getting data that isn't completely needed. 2021-01-02 18:33:49 -07:00
Oliver-Akins
1c2fdb8944 Don't emit the ChosenObject event to everyone in the game. 2021-01-02 17:35:57 -07:00
Oliver-Akins
93d7782ee8 Adjust what rooms the players are put into and add more logs. 2021-01-02 17:35:05 -07:00
Oliver-Akins
5adefc7df3 Implement StartGame caller and listener. 2021-01-02 13:34:04 -07:00
Oliver-Akins
2a18c59f1a Fix the isGuesser/isWriter properties 2021-01-02 13:33:39 -07:00
Oliver-Akins
db2fbc5c1e Add tslog 2021-01-02 13:33:10 -07:00
Oliver-Akins
fdadfca76a Implement StartGame event 2021-01-02 13:32:56 -07:00
Oliver-Akins
69d6d3dc56 Remove logger name from config. 2021-01-02 13:32:34 -07:00
Oliver-Akins
6415e139ae Update global logger settings. 2021-01-02 13:32:20 -07:00
Oliver-Akins
5345c97f33 Update logs to use Game's logger when possible instead of Global. 2021-01-02 13:32:05 -07:00
Oliver-Akins
93de617d83 Wait until game starts to give the cards to each team. 2021-01-02 13:30:07 -07:00
Oliver-Akins
21c9034ab6 Add a child logger to the Game 2021-01-02 13:29:26 -07:00
Oliver-Akins
8bede05e07 Add support leaving/deleting game 2021-01-02 00:34:47 -07:00
Oliver-Akins
1512960b2a Add event registration for DeleteGame and LeaveGame 2021-01-02 00:34:20 -07:00
Oliver-Akins
82120ed516 Add data for the LeaveGame event 2021-01-02 00:33:37 -07:00
Oliver-Akins
9989409c13 Implement LeaveGame event 2021-01-02 00:33:23 -07:00
Oliver-Akins
5cee09f3f0 Add some debug logs for players joining 2021-01-02 00:33:10 -07:00
Oliver-Akins
5cadcfa90a Change alert bar to have more than only error type 2021-01-01 23:38:29 -07:00
Oliver-Akins
f79b7abb3e Make navigator undefined match more explicit. 2021-01-01 23:36:07 -07:00
Oliver-Akins
e04a0bca08 Add semi-colons. 2021-01-01 23:25:16 -07:00
Oliver-Akins
c4ffdbb5bc Add a resetState mutation 2021-01-01 23:25:07 -07:00