0
0
Fork 0
Commit graph

251 commits

Author SHA1 Message Date
Oliver-Akins
9f6766bd78 Add the user to the guessers list when randomizing 2021-03-15 19:14:07 -06:00
Oliver-Akins
66891667b9 Remove all players from the teams 2021-03-15 19:07:54 -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
3b80f093cb Fix order of ternary expression 2021-03-04 14:45:08 -07:00
Oliver-Akins
3f7f30128e Fix name of type 2021-03-03 19:34:30 -07:00
Oliver-Akins
8d724adee3 Add event listener for team randomization 2021-02-28 22:01:55 -07:00
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
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