Commit Graph

173 Commits

Author SHA1 Message Date
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
f52e089433 refactor: changed UserManager constructor to private 2021-06-06 19:28:19 +02:00
36285238ec test: updated test for UserManager 2021-06-06 19:27:50 +02:00
e544c00d2e test: created test for LobbyRunner 2021-06-06 19:27:40 +02:00
cb2b760866 fix: fixed duplicate parameter -l 2021-06-06 18:50:32 +02:00
87bada350b test: disabled impossible tests, and removed singleton instances 2021-06-06 18:50:03 +02:00
8dab25ca8d test: fixed LobbyManagerTest to not run lobbies 2021-06-06 18:43:38 +02:00
472a1e70ce test: created tests for LobbyConnection / Manager / Runner 2021-06-06 17:46:25 +02:00
6043a21e22 feat: implemented callback-based message sending 2021-06-06 17:46:00 +02:00
2acf340482 feat: changed implementation to fixed thread pool 2021-06-06 17:45:41 +02:00
21bfac7d75 feat: implemented Character selection and relaying to lobby 2021-06-06 17:45:16 +02:00
7af0fd40a1 feat: implemented UserManager message forwarding 2021-06-06 17:44:53 +02:00
e689248f9e fix: fixed equals in Lobby 2021-06-06 17:44:28 +02:00
0c8dd3f1a8 test: completed UserManager test 2021-06-06 17:44:11 +02:00
7a27ca8ecf feat: added max lobbies parameter 2021-06-06 17:43:55 +02:00
a6ecf6fa30 refactor: deleted MessageRelay class 2021-06-06 17:43:29 +02:00
cc45c821b7 fix: moved LobbyRunner from tests into main 2021-06-06 15:11:17 +02:00
ef8cd1773a feat: implemented LobbyRunner 2021-06-06 14:11:33 +02:00
cbdb2017b8 refactor: removed callback in constructor 2021-06-06 12:47:09 +02:00
07d440bfac refactor: removed callbacks and generated equals and hashcode for Lobby and LobbyConnection 2021-06-06 12:46:45 +02:00
d8a031f379 update: updated submodule 2021-06-06 03:50:31 +02:00
1839341734 feat: adjusted singleton pattern in MarvelousServer 2021-06-06 03:50:31 +02:00
0ee264502c feat: converted UserManager to singleton object 2021-06-06 03:50:31 +02:00
7db692f790 feat: partially implemented not yet refactored lobbyManager 2021-06-06 03:50:31 +02:00
e7a8f0e1e4 feat: implemented lobby creation and general management 2021-06-06 03:50:31 +02:00
8b2805fcf1 feat: improved Server mainclass 2021-06-06 03:50:31 +02:00