0
0
Fork 0
Commit graph

33 commits

Author SHA1 Message Date
Oliver-Akins
a982ccd704 Implement fromJSON method 2021-01-07 12:34:34 -07:00
Oliver-Akins
348b0453f7 Change constructor to work with the fromJSON method 2021-01-07 12:34:17 -07:00
Oliver-Akins
d385f8830e Implement toJSON method. 2021-01-07 12:33:36 -07:00
Oliver-Akins
b155791f26 Implement fromJSON method 2021-01-07 12:33:10 -07:00
Oliver-Akins
6a0536761c Make sure newly generated IDs don't interefere with the hibernated games. 2021-01-06 17:30:48 -07:00
Oliver-Akins
95c298002f Implement a toJSON function. 2021-01-06 17:17:34 -07:00
Oliver-Akins
2e8497c77d Implement toJSON and fromJSON methods. 2021-01-06 16:24:52 -07:00
Oliver-Akins
48c0f995d1 Begin implementing toJSON and fromJSON 2021-01-05 17:03:10 -07:00
Oliver-Akins
4b5a05f57b implement toJSON and fromJSON methods 2021-01-05 17:00:38 -07:00
Oliver-Akins
4a9092bedb Use proper CSV parsing. 2021-01-03 16:30:26 -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
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
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
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
e42101710e Change the type from number to be the specific answer type. 2020-12-27 15:15:06 -07:00
Oliver-Akins
5f39ae63ff Add selectQuestion for when the writer selects a question. 2020-12-27 15:11:51 -07:00
Oliver-Akins
19f02c60b2 Adjust method call for the team hand updating 2020-12-27 15:07:39 -07:00
Oliver-Akins
e19fb1ef3a Update the team object + docs 2020-12-27 13:11:02 -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
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