Commit graph

121 commits

Author SHA1 Message Date
Oliver-Akins
fd4088b2a5 Update events document 2020-10-22 20:45:25 -06:00
Oliver-Akins
7be4db65cc Add scripts for the differing log levels. 2020-10-22 20:35:30 -06:00
Oliver-Akins
b7367f599c Parse command line arguments 2020-10-22 20:35:10 -06:00
Oliver-Akins
ef910ec402 Add "arg" dependency 2020-10-22 19:54:17 -06:00
Oliver-Akins
7865026a0e Remove un-needed file 2020-10-22 19:53:57 -06:00
Oliver-Akins
103ecf8bb4 Implement the KillGame event. 2020-10-21 22:15:52 -06:00
Oliver-Akins
c2e670c5f8 Update KickPlayer to RemovePlayer 2020-10-21 21:43:44 -06:00
Oliver-Akins
5888f5e2a9 Allow a user to kick themselves from the game. 2020-10-21 21:14:26 -06:00
Oliver-Akins
7a3e50d522 Store user's id and send it to them.
Right now this is isn't used for anything, it will be eventually be used to allow the same person to reconnect to the same game after a disconnect.
2020-10-21 20:55:01 -06:00
Oliver-Akins
aca7d25526 Adjust ordering of events to ensure everyone gets it. 2020-10-21 00:11:25 -06:00
Oliver-Akins
fef8cbbbdc Add a listener for the KickPlayer event 2020-10-20 22:43:50 -06:00
Oliver-Akins
4bac811e2b Remove the player's socket from the room. 2020-10-20 22:43:35 -06:00
Oliver-Akins
b8f71fbc46 Change log from error to warn 2020-10-20 22:43:05 -06:00
Oliver-Akins
8ca6d8352d Remove unused data point from response data 2020-10-10 18:53:38 -06:00
Oliver-Akins
6a3f15d718 Update import 2020-10-10 18:53:21 -06:00
Oliver-Akins
b9c9154f00 Add UUID package 2020-10-10 18:53:07 -06:00
Oliver-Akins
a9192e9423 Add function to generate user ID 2020-10-10 18:52:57 -06:00
Oliver-Akins
1f3f643f27 Rename file 2020-10-10 18:52:34 -06:00
Oliver-Akins
f6edea5d34 Add semi-colons. 2020-10-10 18:42:30 -06:00
Oliver-Akins
8c040e762e Update log levels 2020-10-10 17:29:15 -06:00
Oliver-Akins
f30550669f Change output 2020-10-10 17:29:02 -06:00
Oliver-Akins
435d806b92 Assume everyone is liberal so we only ever need to change the fascist players 2020-10-10 17:28:32 -06:00
Oliver-Akins
16c9376a55 Add a constants file so that we don't need to have constants in the class files. 2020-10-10 01:38:23 -06:00
Oliver-Akins
03db868b7c Begin work on the backend info needed for the game itself 2020-10-10 01:38:00 -06:00
Oliver-Akins
a709630c62 Init Board class 2020-10-10 01:08:45 -06:00
Oliver-Akins
bca0ca3787 Fixing a typo 2020-10-10 01:07:52 -06:00
Oliver-Akins
f57b4b5fed Player will always be specified. 2020-10-10 01:07:41 -06:00
Oliver-Akins
00f67c7c1e Add Starting response interface 2020-10-10 01:07:21 -06:00
Oliver-Akins
9f4023772d Trigger the game start sequence 2020-10-10 01:06:59 -06:00
Oliver-Akins
fd2857d055 Add check to ensure that the game can start. 2020-10-09 16:49:53 -06:00
Oliver-Akins
64b5c49187 Add method to see if the game can start 2020-10-09 16:48:54 -06:00
Oliver-Akins
8dfea57a7c Add player count attribute 2020-10-09 16:34:24 -06:00
Oliver-Akins
7b8ade6f4c Update processing and add host check 2020-10-09 16:30:14 -06:00
Oliver-Akins
004819ac7a Add information regarding the StartGame response 2020-10-09 16:29:48 -06:00
Oliver-Akins
893d139dec Convert game existence check to not use Object.keys 2020-10-09 16:22:42 -06:00
Oliver-Akins
d0ed987876 Begin work on StartGame event 2020-10-09 16:19:21 -06:00
Oliver-Akins
665b6b163e Update import order 2020-10-08 23:28:34 -06:00
Oliver-Akins
ef4ebc0c64 Move the ExecutiveConfirmation event into events root 2020-10-08 23:27:27 -06:00
Oliver-Akins
b7cb111ea1 Move ExecutePlayer file into events root 2020-10-08 23:26:58 -06:00
Oliver-Akins
73b44fc5c0 Move the NextPresident file into the main events folder 2020-10-08 23:26:29 -06:00
Oliver-Akins
7ad07ffe2c Move InvestigateParty into the main events folder 2020-10-08 23:26:00 -06:00
Oliver-Akins
5ef4544822 Finish renaming event 2020-10-08 23:25:32 -06:00
Oliver-Akins
6ccb5f840e Rename event. 2020-10-08 23:24:02 -06:00
Oliver-Akins
a451c69dad Add placeholders for all the planned events. 2020-10-08 23:22:06 -06:00
Oliver-Akins
d2014d6742 Add base function for killing the game 2020-10-08 23:12:47 -06:00
Oliver-Akins
b58d1e7049 Add groups for event responses 2020-10-08 23:09:58 -06:00
Oliver-Akins
12798e7a53 Begin work on event documentation 2020-10-08 23:06:21 -06:00
Oliver-Akins
150a719116 Emit the correct event 2020-10-08 23:06:09 -06:00
Oliver-Akins
46620ec326 remove game_code from client data interface 2020-10-08 23:05:32 -06:00
Oliver-Akins
79fae1a8a7 Change response emission to not include "Response" 2020-10-08 23:05:13 -06:00