Oliver-Akins
|
59f7ed309d
|
Remove extra whitespace
|
2021-03-20 16:42:05 -06:00 |
|
Oliver-Akins
|
40e0f98954
|
Remove helper function that was causing problems
|
2021-03-20 16:40:08 -06:00 |
|
Oliver-Akins
|
187596ae3a
|
Add removePlayers method to cleanly remove all players from the team.
|
2021-03-15 19:00:06 -06:00 |
|
Oliver-Akins
|
73fb548707
|
Rename method
|
2021-02-28 19:38:54 -07:00 |
|
Oliver-Akins
|
526e063eed
|
Update all manipulations of the hand to use the proper data
|
2021-02-28 19:37:39 -07:00 |
|
Oliver-Akins
|
f8cc97fa58
|
Update team datastore types
|
2021-02-28 19:36:54 -07:00 |
|
Oliver-Akins
|
39304d739b
|
Adapt the Team object to work with the two hands
|
2021-02-28 19:35:14 -07:00 |
|
Oliver-Akins
|
1a54b301d1
|
Add method for storing a card in the spirit's hand
|
2021-02-28 19:33:12 -07:00 |
|
Oliver-Akins
|
0be8cbf55b
|
Condense comment
|
2021-02-28 18:26:18 -07:00 |
|
Oliver-Akins
|
3b797ca9d8
|
Make docstrings better. (resolves #77)
|
2021-02-28 18:23:26 -07:00 |
|
Oliver-Akins
|
0d0e9ecdad
|
Reset all parts of the team, not just the hand.
|
2021-01-26 16:18:57 -07:00 |
|
Oliver-Akins
|
e8a44d16d5
|
Add resetHand method for teams
|
2021-01-23 12:35:42 -07:00 |
|
Oliver-Akins
|
f5a2de29de
|
Implement method to download the CSV data from Google Sheets
|
2021-01-11 16:33:58 -07:00 |
|
Oliver-Akins
|
fd11293623
|
Set object to a falsey value when resetting
|
2021-01-10 14:39:23 -07:00 |
|
Oliver-Akins
|
d2760c6a26
|
Add reset method.
|
2021-01-07 18:15:57 -07:00 |
|
Oliver-Akins
|
8e5cc3a612
|
Add reset method.
|
2021-01-07 18:15:41 -07:00 |
|
Oliver-Akins
|
76e667142f
|
Prevent error if options is not defined.
|
2021-01-07 15:33:37 -07:00 |
|
Oliver-Akins
|
ee1a19ed2b
|
Fix host duplication
|
2021-01-07 15:05:02 -07:00 |
|
Oliver-Akins
|
48840ffdec
|
Use null socket when creating player data from JSON.
|
2021-01-07 12:35:36 -07:00 |
|
Oliver-Akins
|
00d2262663
|
Allow player socket to be null
|
2021-01-07 12:34:56 -07:00 |
|
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 |
|