Commit Graph

198 Commits

Author SHA1 Message Date
0b41a9c7d8 refactor: adjusted DisconnectSegment to API changes 2021-06-07 16:45:19 +02:00
ad2dff3eb9 feat: properly used timeouts and timers in Lobby 2021-06-07 16:44:54 +02:00
11923b89a0 feat: implemented Lifetime- and TimeoutTimer 2021-06-07 16:44:41 +02:00
6b10287808 refactor: more class name changes 2021-06-07 16:44:29 +02:00
c4badaf4ef test: refactored tests 2021-06-07 16:44:04 +02:00
7653f5217c refactor: renamed GameLogic segment 2021-06-07 16:43:22 +02:00
6a0bef616f refactor: changed class names to reflect their uses better 2021-06-07 16:42:19 +02:00
f0a4cd0adb test: commented out non-working tests 2021-06-07 15:44:30 +02:00
b087eee99d refactor: added hasFreePlayerSlot method to LobbyConnection 2021-06-07 15:34:22 +02:00
d58f0dfca9 update: updated submodule 2021-06-07 15:33:42 +02:00
9f366c7776 doc: added comments and logs to LobbyManager 2021-06-07 15:33:27 +02:00
8c1e55d9b0 build: removed redundant ARG from dockerfile 2021-06-07 15:12:38 +02:00
e288c8d4a4 fix: fixed the No-Events-bug in the lobby 2021-06-07 15:12:22 +02:00
1e37bf8ff3 fix: remove faulty participant deletion 2021-06-07 15:00:39 +02:00
e40218b2cf refactor: major refactor for UserManager, and comments for LobbyManager 2021-06-07 14:51:38 +02:00
3ea1cc6cf5 fix: resolve some more connection opening and closing issues 2021-06-07 13:11:09 +02:00
3be518f13b fix: send GameStructure on reconnect 2021-06-07 09:04:18 +02:00
efa5ce3848 fix: remove stored sessions when clients get disconnected by the server 2021-06-07 08:55:53 +02:00
0d1af0ed62 feat: add disconnect and reconnect methods to lobby 2021-06-07 08:51:38 +02:00
ca0999d06b refactor: minor fixes 2021-06-07 08:41:13 +02:00
522558bb16 refactor: switch more classes to singleton, simplify handling greatly 2021-06-07 07:36:51 +02:00
d9b5b3db2f cleanup: code cleanup 2021-06-07 03:49:06 +02:00
48d9626c06 fix: now sends goodbyeClient message on disconnect 2021-06-07 02:13:12 +02:00
a25b429e1e fix: fixed bug where selectionComplete is always false 2021-06-07 02:08:52 +02:00
752f43b86f refactor: formated lobbymanager properly 2021-06-07 02:01:31 +02:00
16c425c507 refactor: formatted Lobby files properly 2021-06-07 01:58:25 +02:00
c24121b6d9 refactor: formated UserManager properly 2021-06-07 01:56:12 +02:00
274a85248f update: updated Gamelib 2021-06-07 01:46:31 +02:00
7f70fa51e4 test: commented out impossible to reach methods in UserManager 2021-06-07 01:46:24 +02:00
9e894a370e feat: improved UserManager 2021-06-07 01:46:24 +02:00
0f559d09a5 feat: implemented reconnectClient 2021-06-07 01:46:23 +02:00
cc8277ff99 feat: improved LobbyConnection 2021-06-07 01:46:23 +02:00
f3e3f9f7d7 fix: implemented hashCode that persists for lifetime of object 2021-06-07 01:46:23 +02:00
4ace772be0 fix: fixed TurnTimer, Lobby and Pipeline 2021-06-07 01:46:23 +02:00
67be103c42 feat: add help cli arg and add descriptions 2021-06-07 01:02:40 +02:00
Richard Reiber
355698db1b test: added test for broadcastEvents with a list of Events 2021-06-06 21:40:53 +02:00
e7f22099b1 fix: changed maxLobbies from int to Integer 2021-06-06 21:36:44 +02:00
e029106a11 refactor: extracted method in LobbyManager 2021-06-06 21:36:44 +02:00
3ab8d57829 test: created tests for LobbyManager and LobbyRunner 2021-06-06 21:36:44 +02:00
5f89e4e90a refactor: regenerated HashCode for lobbyConnection 2021-06-06 21:36:44 +02:00
f61069bb79 fix: fixed proper check whether lobbys are available in LobbyRunner 2021-06-06 21:36:44 +02:00
Richard Reiber
b4cac6242b test: added test for broadCastToAllExcept in LobbyConnectionTest 2021-06-06 21:21:21 +02:00
6470bc09b1 test: added tests for lobbymanager classes 2021-06-06 21:02:31 +02:00
a056674926 test: fixed LobbyConnection broadcastEvents test 2021-06-06 20:33:39 +02:00
Richard Reiber
4ed6d23be6 test: added test for spectator joins full lobby (need fix) 2021-06-06 20:00:39 +02:00
Richard Reiber
4e39d01ac6 test: added tests for add and remove Participants as well as first message Tests (broadcast needs to be fixed) 2021-06-06 19:59:35 +02:00
eebd6e923c update: updated submodule 2021-06-06 19:30:59 +02:00
c56a356994 fix: implemented proper game start in Lobby 2021-06-06 19:30:38 +02:00
2995564cdf feat: switched LobbyRunner implementation to threads again 2021-06-06 19:30:17 +02:00
c09d407351 feat: implemented CharacterSelection and game start 2021-06-06 19:29:51 +02:00