Commit Graph

245 Commits

Author SHA1 Message Date
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
Richard Reiber
bbaeb63bb6 doc: added documentation for Lobby classes 2021-06-06 01:51:39 +02:00
Richard Reiber
7f512400df test: added TimeoutWarning and generateWin tests 2021-06-06 00:49:53 +02:00
Richard Reiber
c1cd3fba66 fix: updated timeout-method for spectator-error 2021-06-06 00:49:09 +02:00
6a8de34c67 refactor: extracted UpdateTimer method 2021-06-06 00:39:15 +02:00
Richard Reiber
4e66a4eb24 test: created test for Lobby 2021-06-06 00:09:04 +02:00
6eff0a4813 refactor: extracted updateTimer method 2021-06-06 00:08:08 +02:00
4e2e0bd622 fix: fixed UserManagerTest 2021-06-05 23:48:16 +02:00
Richard Reiber
4dec57d483 test: created test for TurnTimer 2021-06-05 23:28:17 +02:00
0088a4b3e9 feat: broadcast GamestateEvents after initialization 2021-06-05 23:27:40 +02:00
bc7dcf4985 build: added Mockito inline dependency 2021-06-05 23:27:15 +02:00
a0c26bd39d fix: fixed DisconnectSegmentTest according to Lobby API changes 2021-06-05 23:17:17 +02:00
2f2bbea213 changed LobbyConnection construction, and changed Lobby and DisconnectSegment according to new API 2021-06-05 23:14:08 +02:00
c5e8bd6ece feat: implemented handshake and sendMessage methods properly 2021-06-05 23:14:08 +02:00
20bce266b1 feat: made config files globally avaliable via Server 2021-06-05 23:14:08 +02:00
b0a37d63f8 feat: implemented RandomWordGenerator 2021-06-05 23:14:08 +02:00
11559d1f56 test: disabled useless server test 2021-06-05 23:14:08 +02:00
3956d8b0f0 update: updated Gamelib 2021-06-05 23:14:07 +02:00
ae546372db build: updated mockito dependency to the proper one 2021-06-05 23:14:07 +02:00
Richard Reiber
9fcb1aa009 test: created test for RequestGameStateSegment 2021-06-05 22:39:40 +02:00
Richard Reiber
a61409a822 test: created test for Pipeline 2021-06-05 22:22:56 +02:00
Richard Reiber
b4d547a6d3 feat: added contains to Pipeline 2021-06-05 22:22:24 +02:00
Richard Reiber
ece6ef133c refactor: generated equals and hashcode for Packet 2021-06-05 22:21:44 +02:00
Richard Reiber
8ee3e22dab test: added processRequests-Tests to PauseSegmentTest 2021-06-05 21:17:51 +02:00
Richard Reiber
3f14019a83 test: updated PacketTest with getOriginTest() 2021-06-05 20:49:26 +02:00
Richard Reiber
f0bdee28c3 test: added PacketTest 2021-06-05 20:44:15 +02:00
Richard Reiber
552bab8d93 test: added DisconnectSegmentTest 2021-06-05 20:30:48 +02:00
f8428fea3e refactor: changed public final variables to getters 2021-06-05 19:44:09 +02:00
f55168e23f update: updated Gamelib 2021-06-05 19:41:18 +02:00