Daniel Grigencha
b3fb2f8fa4
added a new 'ShutdownMessage' for the server
2024-12-02 02:31:55 +01:00
Daniel Grigencha
8fcac9b809
Merge branch 'development' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into development
2024-12-02 02:15:29 +01:00
Daniel Grigencha
6985d988f4
Updated 'DetermineStartPlayerState' class.
...
Updated the 'DetermineStartPlayerState' class by updating the logic inside the 'received(RequestDieMessage msg, int from)' method in it.
2024-12-02 02:15:22 +01:00
Fleischer Hanno
6c3103b2ed
fixing serialization error
2024-12-02 02:14:45 +01:00
Fleischer Hanno
3658c88d72
made all enums look like the color enum
2024-12-02 02:11:40 +01:00
Fleischer Hanno
bfc812b003
minas please help no serialization
2024-12-02 02:07:02 +01:00
Daniel Grigencha
efb4439431
Updated 'Game' class.
...
Updated the 'Game' class by adding the 'setDie' method to it.
2024-12-02 01:53:10 +01:00
Daniel Grigencha
0b45727bd7
Updated 'Die' class.
...
Updated the 'Die' class by adding a third constructor for test cases.
2024-12-02 01:39:01 +01:00
Daniel Grigencha
a19ac2fc51
Updated 'GameState' class.
...
Updated the 'GameState' class by changing the data types of 'determineStartPlayerState, 'animationState' and 'turnState' attributes in it.
2024-12-02 01:27:21 +01:00
Daniel Grigencha
79f0e55c52
default value of playerData in 'Board'
2024-12-02 01:19:41 +01:00
Fleischer Hanno
44378486d4
Merge remote-tracking branch 'origin/development' into development
2024-12-02 01:17:14 +01:00
Fleischer Hanno
149931d2cb
fixed PlayerData mistake
2024-12-02 01:16:33 +01:00
Daniel Grigencha
177bfe3001
Updated 'DetermineStartPlayerState' class.
...
Updated the 'DeterminStartPlayerState' class by removing the 'getDiceResults' method from it. In Addition, the logic inside the 'received(RequestDieMessage msg, int from)' was added.
2024-12-02 01:01:42 +01:00
Fleischer Hanno
c649b8f3ae
creating MapCreation Notification
2024-12-02 00:44:11 +01:00
Daniel Grigencha
4b6b12c0ac
Updated 'Board' class.
...
Updated the 'Board' class by adding the 'addPlayerData' method to it.
2024-12-02 00:42:07 +01:00
Daniel Grigencha
c1280ba089
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by adding 'initializeGame' method to it.
2024-12-02 00:40:21 +01:00
Daniel Grigencha
bcb0ebc0f8
Merge branch 'development' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into development
2024-12-02 00:29:21 +01:00
Daniel Grigencha
a19902f819
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by changing the method call 'isActive' to 'isReady'.
2024-12-02 00:28:59 +01:00
Fleischer Hanno
a86319082c
included the LobbyPlayerJoined MEssage parameter of isHost
2024-12-02 00:28:04 +01:00
Daniel Grigencha
3e56de2a17
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by changing the method call 'isActive' to 'isReady'.
2024-12-02 00:23:03 +01:00
Daniel Grigencha
dee6bf9f9c
Updated 'Game' class.
...
Updated the 'Game' class by adding the 'host' attribute and its getter method to it.
2024-12-02 00:19:46 +01:00
Daniel Grigencha
ea6431faa4
Updated 'LobbyPlayerJoinedMessage' class.
...
Updated the 'LobbyPlayerJoinedMessage' class by adding the 'host' attribute and its getter method to.
2024-12-02 00:12:46 +01:00
Cedric Beck
d890d11978
Merge branch 'development' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into development
2024-12-01 23:58:57 +01:00
Cedric Beck
9dd2d3f58b
added finish text; edited Notifications
2024-12-01 23:57:53 +01:00
Daniel Grigencha
06e43903e6
Merge branch 'development' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into development
2024-12-01 23:57:39 +01:00
Daniel Grigencha
92cbd9202a
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by fixing the error by sending the 'ServerStartGameMessage' after all players are ready.
2024-12-01 23:57:26 +01:00
Felix Koppe
9a06afe998
Merge commit
2024-12-01 23:56:33 +01:00
Felix Koppe
289390c528
Add comment
2024-12-01 23:56:24 +01:00
Fleischer Hanno
7712a23d00
added transition from Lobby to Game
2024-12-01 23:50:37 +01:00
Fleischer Hanno
2f2d9c7479
Merge remote-tracking branch 'origin/development' into development
2024-12-01 23:42:56 +01:00
Fleischer Hanno
c2b6e6e9e9
made all classes for ServerStartGameMEssage serializiable
2024-12-01 23:42:32 +01:00
Daniel Grigencha
adcf65d7aa
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by sending a broadcast message after all players are ready. In Addition, the 'ServerStartGameMessage' getting the 'Board' object.
2024-12-01 23:41:10 +01:00
Daniel Grigencha
8f53b76a3e
Updated 'ServerStartGameMessage' class.
...
Updated the 'ServerStartGameMessage' class by adding the 'board' attribute and its getter method to it.
2024-12-01 23:39:36 +01:00
Daniel Grigencha
02d7ef1dd8
Updated 'ChoosePieceState' class.
...
Updated the 'ChoosePieceState' to work correctly as a state automaton.
2024-12-01 23:28:50 +01:00
Daniel Grigencha
23aa2db714
Merge branch 'development' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into development
2024-12-01 23:27:50 +01:00
Daniel Grigencha
e68369074f
Updated 'RollDiceState' class.
...
Updated the 'RollDiceState' class by removing a spelling mistake.
2024-12-01 23:27:45 +01:00
Daniel Grigencha
aafc804c3f
Updated 'ChoosePieceState' class.
...
Updated the 'ChoosePieceState' to work correctly as a state automaton.
2024-12-01 23:26:53 +01:00
Fleischer Hanno
a1e51fb2f4
added logic to the leave game method
2024-12-01 23:08:25 +01:00
Daniel Grigencha
f484a4abc8
Updated server states.
...
Updated server stats by adding the logger to all states. In Addition, new joined clients should be updated correctly.
2024-12-01 23:06:02 +01:00
Fleischer Hanno
76e2606847
reverted the client state machine
2024-12-01 22:47:13 +01:00
Daniel Grigencha
eaf46f3e14
updated the project to pass the checkstyle
2024-12-01 22:37:49 +01:00
Cedric Beck
661c28f096
merge to dev/client_beck from development
2024-12-01 22:06:30 +01:00
Felix Koppe
799bd096a0
Merge development
2024-12-01 21:56:52 +01:00
Fleischer Hanno
133f900ec7
added the server and network functionality for mdga and fixed the communication in the Lobby
2024-12-01 21:50:28 +01:00
Fleischer Hanno
33ddea4221
Merge remote-tracking branch 'origin/development' into development
2024-12-01 21:49:30 +01:00
Daniel Grigencha
977a7294ad
updated server state diagram and added missing classes
2024-12-01 21:49:11 +01:00
Daniel Grigencha
71d5701cc7
added javadoc for the classes in the notification package
2024-12-01 21:44:35 +01:00
Fleischer Hanno
42feca466d
Merge remote-tracking branch 'origin/development' into development
2024-12-01 21:05:41 +01:00
Daniel Grigencha
95a1f8d858
removed all inheritance of the automaton for testing purposes
2024-12-01 21:05:22 +01:00
Fleischer Hanno
76757c19a9
Merge remote-tracking branch 'origin/development' into development
2024-12-01 21:02:11 +01:00