Daniel Grigencha
002a42be38
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by removing the 'received(LeaveGameMessage msg, int from)' from it.
2024-12-02 23:21:42 +01:00
Daniel Grigencha
a1d10521ac
Updated 'ServerSener' interface.
...
Updated the 'ServerSender' interface by adding the 'shutdown' method to it.
2024-12-02 23:14:29 +01:00
Fleischer Hanno
4e6a272e7a
added that when the client is in the game state and recieves the ceremony message it always changes to ceremony state
2024-12-02 23:08:56 +01:00
Daniel Grigencha
659d69d3eb
Updated 'GameState' class.
...
Updated the 'GameState' class by sending a broadcast message after a player left the game and only one player is remaining.
2024-12-02 23:06:44 +01:00
Daniel Grigencha
fb6cbeaaf5
Updated 'ServerStartGameMessage' class.
...
Updated the 'ServerStartGameMessage' class by adding the 'board' attribute and its getter method to it.
2024-12-02 23:00:39 +01:00
Daniel Grigencha
252c37ae9a
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by sending the 'ServerStartGameMessage' with a 'Board' object.
2024-12-02 22:58:46 +01:00
Fleischer Hanno
e9ba888651
changed the logic so that the isHost is not decided by the client and instead by the server
2024-12-02 22:45:44 +01:00
Daniel Grigencha
492f7422f5
Updated 'LobbyAcceptMessage' class.
...
Updated the 'LobbyAcceptMessage' class by adding the 'host' attribute and its getter method to it.
2024-12-02 22:36:48 +01:00
Daniel Grigencha
27f8af70f5
Updated 'Game' class.
...
Updated the 'Game' class by setting the default value of 'host' attribute. In Addition, the 'isHost' method was added.
2024-12-02 22:34:45 +01:00
Fleischer Hanno
5910fcc701
added the client logic to receive the LobbyAccept and LobbyDeny message
2024-12-02 21:52:07 +01:00
Daniel Grigencha
468e4005dc
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by sending a broadcast update the new ready state of the client.
2024-12-02 21:23:53 +01:00
Daniel Grigencha
72321eab9a
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by updating all received methods in it.
2024-12-02 21:22:49 +01:00
Felix Koppe
baa967ecfc
Merge commit
2024-12-02 21:12:56 +01:00
Felix Koppe
8d39d61c71
Add infoNotification
2024-12-02 21:12:43 +01:00
Fleischer Hanno
ebb9f839c7
added JavaDocs in Resources.java
2024-12-02 20:58:00 +01:00
Daniel Grigencha
3eef4b2a02
Updated 'PlayerData' class.
...
Updated the 'PlayerData' class by replacing the magic constants with the 'Resources' class. In Addition, some JavaDoc texts were updated.
2024-12-02 20:56:59 +01:00
Daniel Grigencha
c1fa679261
Updated 'Resources' class.
...
Updated the 'Resources' class by adding the 'MAX_PIECES' constant to it.
2024-12-02 20:45:07 +01:00
Daniel Grigencha
c48f924ead
Updated 'Resources' class.
...
Updated the 'Resources' class by adding the 'MAX_PLAYERS' constant to it.
2024-12-02 20:43:47 +01:00
Fleischer Hanno
73859d8c81
added methods for getting Boolean, String, Double and int
2024-12-02 20:34:52 +01:00
Fleischer Hanno
7ddcdc3f48
added the first error.messages and adjusted
2024-12-02 20:24:17 +01:00
Fleischer Hanno
2cefc2c293
Merge remote-tracking branch 'origin/development' into development
2024-12-02 20:19:44 +01:00
Daniel Grigencha
c4304ae99a
Updated 'Game' class.
...
Updated the 'Game' class by removing the 'allReady' attribute in it. In Addtion, the 'areAllReady' method was added.
2024-12-02 20:19:13 +01:00
Fleischer Hanno
005df94114
added Resources calss to access teh properties
2024-12-02 19:55:18 +01:00
Daniel Grigencha
44f893ccef
Updated 'Game' class.
...
Updated the 'Game' class by setting the 'die' attribute correctly inside the constructor.
2024-12-02 19:45:11 +01:00
Daniel Grigencha
0d9a922f55
Removed 'PlayerDataMessage' and 'StartBriefingMessage'.
2024-12-02 19:16:01 +01:00
Fleischer Hanno
0a0762b6c9
removed all instances of PlayerDataMEssage and StartBriefingMessage
2024-12-02 19:07:58 +01:00
Fleischer Hanno
90a21087df
added logic for incorrectRequest message and removed messages playerdata and startbriefing and created javadocs
2024-12-02 19:02:00 +01:00
Daniel Grigencha
294ecdc56f
Updated 'IncorrectRequestMessage' class.
...
Updated the 'IncorrectRequestMessage' class by updating the content inside the 'accept' method in it.
2024-12-02 19:00:21 +01:00
Daniel Grigencha
347ed152b8
Added 'IncorrectRequestMessage' class.
...
Added the 'IncorrectRequestMessage' class to this project. It will be used to send the client an incorrect request message to show they did something wrong.
2024-12-02 18:58:15 +01:00
Daniel Grigencha
3daafde9f1
Updated 'ServerInterpreter' class.
...
Updated the 'ServerInterpreter' class by adding the 'received(IncorrectRequestMessage msg)' method to it.
2024-12-02 18:50:42 +01:00
Daniel Grigencha
09fda6b167
Updated 'Game' class.
...
Updated the 'Game' class by adding the 'isColorTaken' method to it.
2024-12-02 18:18:04 +01:00
Cedric Beck
f21fd9b0a6
added setPauseOnLostFocus(false)
2024-12-02 17:28:37 +01:00
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