Hanno Fleischer
0411f2ead4
fixed state transitions in gamestateclient automaton
2024-12-02 17:08:46 +01:00
Daniel Grigencha
bcf17a0651
Merge branch 'development' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into development
2024-12-02 16:35:49 +01:00
Daniel Grigencha
eee6fccde5
Updated 'DetermineStartPlayerState' class.
...
Updated the 'DetermineStartPlayerState' class by setting the start state correctly and enter it.
2024-12-02 16:35:40 +01:00
Felix Koppe
2118c72891
Adjust RollDiceNotification
2024-12-02 16:34:55 +01:00
Daniel Grigencha
cb362c4d0c
Used auto-reformate code.
2024-12-02 16:31:57 +01:00
Daniel Grigencha
1bcb73cff7
Updated 'PlayerData' class.
...
Updated the 'PlayerData' class by adding the 'isFinished' method to it. In Addition, the empty constructor was optimized to initalize all class attributes for serializable cases.
2024-12-02 16:29:32 +01:00
Daniel Grigencha
167d898a3c
Updated 'StartNode' class.
...
Updated the 'StartNode' class by reverting all enumerations to its origin types in it.
2024-12-02 16:25:33 +01:00
Daniel Grigencha
6c136b78b8
Updated 'Piece' class.
...
Updated the 'Piece' class by reverting all enumeration to its orgin types.
2024-12-02 16:22:50 +01:00
Felix Koppe
92d2e74748
Fix error regarding color in lobbyState
2024-12-02 13:06:59 +01:00
Felix Koppe
4561a962d4
Fix lobby isSelf logic and no longer assign color on join
2024-12-02 12:52:07 +01:00
Hanno Fleischer
5db7b64cef
fixed bug with seriliazation of Board, now sending playerdata seperate from teh board
2024-12-02 12:16:53 +01:00
Felix Koppe
bb1b721e77
Fix lobby in serverAutomaton and adjust TskUpdateMessage
2024-12-02 11:48:54 +01:00
Fleischer Hanno
47f9f46277
Merge remote-tracking branch 'origin/development' into development
2024-12-02 03:03:47 +01:00
Fleischer Hanno
c434bcb684
minor changes
2024-12-02 03:03:36 +01:00
Daniel Grigencha
0aa73ca6ee
added the received method for a Shutdown Message
2024-12-02 02:52:48 +01:00
Daniel Grigencha
31b1d535ac
added a new 'ShutdownMessage' for the server
2024-12-02 02:32:50 +01:00
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