Oliver-Akins
|
4c9db9414f
|
Adjust function header
|
2021-02-28 21:58:54 -07:00 |
|
Oliver-Akins
|
a99d7716df
|
Correct the randomization algorithm
|
2021-02-28 21:58:39 -07:00 |
|
Oliver-Akins
|
c0d907379e
|
Rename and implement randomize teams event.
|
2021-02-28 20:49:19 -07:00 |
|
Oliver-Akins
|
9629116470
|
Add payload datatypes for RandomizeTeams
|
2021-02-28 19:40:22 -07:00 |
|
Oliver-Akins
|
c6546af332
|
Begin work on a randomize teams method.
|
2021-02-28 19:39:50 -07:00 |
|
Oliver-Akins
|
a7d718333d
|
Use the askSpirit method
|
2021-02-28 19:39:13 -07:00 |
|
Oliver-Akins
|
73fb548707
|
Rename method
|
2021-02-28 19:38:54 -07:00 |
|
Oliver-Akins
|
04a0780225
|
Get the correct hand from the team for spirits reconnecting
|
2021-02-28 19:38:15 -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
|
a3b3cfa71f
|
Add the spirits to their rooms when rejoining. (Fixes #75)
|
2021-02-28 18:15:43 -07:00 |
|
Oliver-Akins
|
8c2963c75b
|
Use updated reset method.
|
2021-01-26 16:19:12 -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
|
a5ee46bfb2
|
Protect against undefined property error
|
2021-01-26 16:13:45 -07:00 |
|
Oliver-Akins
|
7e12fa253a
|
Protect against attempting to draw 0 cards
|
2021-01-26 16:12:55 -07:00 |
|
Oliver-Akins
|
4d885ea36b
|
Reset each team's hand
|
2021-01-23 12:36:07 -07:00 |
|
Oliver-Akins
|
e8a44d16d5
|
Add resetHand method for teams
|
2021-01-23 12:35:42 -07:00 |
|
Oliver-Akins
|
2cb82f2e8f
|
Update log messages
|
2021-01-12 14:46:05 -07:00 |
|
Oliver-Akins
|
c171d93963
|
Only send new hand response to the guessers on the correct team.
|
2021-01-12 14:45:44 -07:00 |
|
Oliver-Akins
|
6f3301e1c9
|
Allow "sheets" to be used in the config
|
2021-01-11 16:34:17 -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
|
9afec3f372
|
Move guesser limit to config file.
|
2021-01-10 16:31:25 -07:00 |
|
Oliver-Akins
|
d4356348dc
|
Delete datastore when it's reloaded
|
2021-01-10 16:14:35 -07:00 |
|
Oliver-Akins
|
0f74a60cb3
|
Adjust logs and comments & a couple assignments
|
2021-01-10 15:41:48 -07:00 |
|
Oliver-Akins
|
d66f538f3a
|
Move the playerData check around
|
2021-01-10 15:41:11 -07:00 |
|
Oliver-Akins
|
fd11293623
|
Set object to a falsey value when resetting
|
2021-01-10 14:39:23 -07:00 |
|
Oliver-Akins
|
9a398e41a8
|
Log that the game is being reset and mark game as in lobby
|
2021-01-10 14:38:44 -07:00 |
|
Oliver-Akins
|
e0f76432bf
|
Update error response message to not give more info away than needed.
|
2021-01-10 14:21:42 -07:00 |
|
Oliver-Akins
|
78d1d979de
|
Change to a strict type check
|
2021-01-10 13:58:17 -07:00 |
|
Oliver-Akins
|
d8d43a9d06
|
Update log events.
|
2021-01-09 16:29:51 -07:00 |
|
Oliver-Akins
|
8360070711
|
Update exit code listeners to accomodate for systemd
|
2021-01-09 16:29:05 -07:00 |
|
Oliver-Akins
|
b1331a519b
|
Add config option for datetime visibility in the logger
|
2021-01-09 14:56:23 -07:00 |
|
Oliver-Akins
|
bf7732de26
|
Emit event to all clients in game not just writers
|
2021-01-09 00:17:44 -07:00 |
|
Oliver-Akins
|
59819dba45
|
Add the user to the correct socket rooms.
|
2021-01-08 23:12:48 -07:00 |
|
Oliver-Akins
|
2f190cafd8
|
Allow null object cards.
|
2021-01-07 18:16:27 -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
|
3441e5acd2
|
Add ResetGame types
|
2021-01-07 18:15:32 -07:00 |
|
Oliver-Akins
|
aa5159d10f
|
Register ResetGame listener
|
2021-01-07 18:14:39 -07:00 |
|
Oliver-Akins
|
d56ac2e689
|
Add ResetGame functionality.
|
2021-01-07 18:14:17 -07:00 |
|
Oliver-Akins
|
eb2a85399b
|
Update logs / add an error log on 500 errors.
|
2021-01-07 16:15:43 -07:00 |
|
Oliver-Akins
|
2d59397c4a
|
Update event template.
|
2021-01-07 16:13:37 -07:00 |
|
Oliver-Akins
|
7993c0257f
|
Fix data not being populated properly.
|
2021-01-07 16:12:15 -07:00 |
|
Oliver-Akins
|
76e667142f
|
Prevent error if options is not defined.
|
2021-01-07 15:33:37 -07:00 |
|
Oliver-Akins
|
9689b23007
|
Add data needed for the GameRejoined event
|
2021-01-07 15:33:18 -07:00 |
|
Oliver-Akins
|
ee1a19ed2b
|
Fix host duplication
|
2021-01-07 15:05:02 -07:00 |
|