0
0
Fork 0
Commit graph

243 commits

Author SHA1 Message Date
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
9ae1568bea Update clarity of the server README 2021-01-11 17:17:40 -07:00
Oliver-Akins
5ee439a6e7 Clarity: Add better description
Update the template.toml to have a better description of the fingerprint when in "sheets" mode
2021-01-11 17:16:13 -07:00
Oliver-Akins
62e42b20e3 Add Axios as a dependency 2021-01-11 16:35:23 -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
2a7d51dae9 Update the README to have better setup steps for systemd. 2021-01-09 16:35:25 -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
30a67f653d Correct the link command for the service file. 2021-01-09 15:32:52 -07:00
Oliver-Akins
8f708133d4 Add filepath in text step rather than just the example. 2021-01-09 15:13:46 -07:00
Oliver-Akins
cd31676634 Add command to access logs. 2021-01-09 15:13:30 -07:00
Oliver-Akins
bb9f187a2e Remove step where you try to erroneously enable the ghost-writer service 2021-01-09 15:13:16 -07:00
Oliver-Akins
dd67a7e22e Update information for the websocket.port property 2021-01-09 15:01:13 -07:00
Oliver-Akins
2d520e2ceb Remove resources cache from git 2021-01-09 14:59:06 -07:00
Oliver-Akins
b1331a519b Add config option for datetime visibility in the logger 2021-01-09 14:56:23 -07:00
Oliver-Akins
bfc5453f28 Create service file. 2021-01-09 14:35:36 -07:00
Oliver-Akins
e7344fe45c Add proper filepath for the service file link. 2021-01-09 14:35:22 -07:00
Oliver-Akins
cddac3a642 Add configuration section to server readme 2021-01-09 01:56:34 -07:00
Oliver-Akins
48e2ae15f8 Add setup instructions for the server 2021-01-09 01:54:11 -07:00
Oliver-Akins
64b4bce28c Update log level default to be info instead of silly. 2021-01-09 01:30:09 -07:00
Oliver-Akins
bf7732de26 Emit event to all clients in game not just writers 2021-01-09 00:17:44 -07:00