0
0
Fork 0
Commit graph

515 commits

Author SHA1 Message Date
Oliver-Akins
758666c5fb Make button change mouse type 2021-02-28 22:06:36 -07:00
Oliver-Akins
8d724adee3 Add event listener for team randomization 2021-02-28 22:01:55 -07:00
Oliver-Akins
c7890776f9 Adjust button positioning in lobby and add a button randomization 2021-02-28 22:01:40 -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
be446a0390 Add a modal that displays all players on the team and which one is the spirit. 2021-02-28 20:13:04 -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
b380fef99b Add a card ID for if there are multiple guessers in the game 2021-01-26 16:48:49 -07:00
Oliver-Akins
249bc5bca6 Add a property if there are multiple guessers on a team 2021-01-26 16:48:23 -07:00
Oliver-Akins
0d8f13a0a5 Add test file patterns to the gitignore. 2021-01-26 16:20:37 -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
865c454589 Make spirits see the buttons at end of the game 2021-01-23 12:34:48 -07:00
Oliver-Akins
94f018bf60 Update the lobby screen to move the player around the lists 2021-01-12 16:04:00 -07:00
Oliver-Akins
911f25eb1d Makes period optional for answer checking. 2021-01-12 15:34:51 -07:00
Oliver-Akins
01940fb0b6 Make discard hand button more colourblind friendly 2021-01-12 15:04:45 -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
bd70fa5f99 Change how the status check is working 2021-01-10 15:42:14 -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
120cedb963 Add bash scripts to the gitignore. 2021-01-10 14:15:48 -07:00
Oliver-Akins
6bdf0ee17c Fix spelling error in conditional (closes #46) 2021-01-10 14:15:18 -07:00
Oliver-Akins
daa18d6a9a Fix: Character cases causing interface not recognize the game end. (closes #47) 2021-01-10 14:13:58 -07:00