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 |
|
Oliver-Akins
|
31d19bfe2d
|
Add log stating how many hibernated games were found
|
2021-01-07 13:23:55 -07:00 |
|
Oliver-Akins
|
c34fec10ad
|
Run a check of all active games for ones with no socket connections.
|
2021-01-07 12:43:13 -07:00 |
|
Oliver-Akins
|
aee33fd63a
|
If the game the player is trying to join is hibernated, make it active.
|
2021-01-07 12:40:10 -07:00 |
|
Oliver-Akins
|
9268958a2f
|
Remove filetype from the names of the hibernated games.
|
2021-01-07 12:38:08 -07:00 |
|
Oliver-Akins
|
5666a507c8
|
Correct config validation on the datastore filepath
|
2021-01-07 12:37:20 -07:00 |
|
Oliver-Akins
|
e5a14322c0
|
Ensure player's socket object exists.
|
2021-01-07 12:36:47 -07:00 |
|
Oliver-Akins
|
4d63e78d2c
|
Actually exit the process when done cleaning up
|
2021-01-07 12:36:33 -07:00 |
|
Oliver-Akins
|
325a2cb423
|
Update log messages
|
2021-01-07 12:36:13 -07:00 |
|
Oliver-Akins
|
ffc4524127
|
Add the game's ID to the datastore.
|
2021-01-07 12:35:53 -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
|
ce252d471a
|
Remove unused conf import
|
2021-01-07 12:32:47 -07:00 |
|
Oliver-Akins
|
c79d8f970a
|
Prevent host player duplication.
|
2021-01-07 12:32:31 -07:00 |
|
Oliver-Akins
|
6332673160
|
Close #32 -> Hand Discarding Size Increase
|
2021-01-07 11:22:32 -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
|
ac050fc505
|
Begin work on implementing game loading from the datastore.
|
2021-01-06 17:18:43 -07:00 |
|
Oliver-Akins
|
28a1f1ee14
|
Change structure of the decks for the datastore.
|
2021-01-06 17:18:07 -07:00 |
|
Oliver-Akins
|
95c298002f
|
Implement a toJSON function.
|
2021-01-06 17:17:34 -07:00 |
|
Oliver-Akins
|
cc10c145b5
|
Add filetype to the config.
|
2021-01-06 17:17:11 -07:00 |
|
Oliver-Akins
|
4195159003
|
Rename function to routineCheck
|
2021-01-06 17:16:51 -07:00 |
|
Oliver-Akins
|
2e8497c77d
|
Implement toJSON and fromJSON methods.
|
2021-01-06 16:24:52 -07:00 |
|