1f64676d31
Updated 'MdgaServer' class. Updated the 'MdgaServer' class by adding the 'shutdown' message to it.
Daniel Grigencha
2024-12-02 23:23:56 +01:00
838f59b9aa
Updated 'ServerState' class. Updated the 'ServerState' class by filling the 'received(LeaveGameMessage msg, int from)' in it.
Daniel Grigencha
2024-12-02 23:22:45 +01:00
002a42be38
Updated 'LobbyState' class. Updated the 'LobbyState' class by removing the 'received(LeaveGameMessage msg, int from)' from it.
Daniel Grigencha
2024-12-02 23:21:42 +01:00
a1d10521ac
Updated 'ServerSener' interface. Updated the 'ServerSender' interface by adding the 'shutdown' method to it.
Daniel Grigencha
2024-12-02 23:14:29 +01:00
ba9a60a58a
added one more test and added some logic to the moveTest to test unwanted statechanges
Benjamin Feyer
2024-12-02 23:10:21 +01:00
4e6a272e7a
added that when the client is in the game state and recieves the ceremony message it always changes to ceremony state
Fleischer Hanno
2024-12-02 23:08:56 +01:00
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.
Daniel Grigencha
2024-12-02 23:06:44 +01:00
fb6cbeaaf5
Updated 'ServerStartGameMessage' class. Updated the 'ServerStartGameMessage' class by adding the 'board' attribute and its getter method to it.
Daniel Grigencha
2024-12-02 23:00:39 +01:00
3f49b432c4
added SSAO and FXAA
Cedric Beck
2024-12-02 22:58:52 +01:00
252c37ae9a
Updated 'LobbyState' class. Updated the 'LobbyState' class by sending the 'ServerStartGameMessage' with a 'Board' object.
Daniel Grigencha
2024-12-02 22:58:46 +01:00
4566d4c9a8
Merge remote-tracking branch 'origin/development' into development
Fleischer Hanno
2024-12-02 22:46:12 +01:00
e9ba888651
changed the logic so that the isHost is not decided by the client and instead by the server
Fleischer Hanno
2024-12-02 22:45:44 +01:00
2434ede556
added one testmethod
Benjamin Feyer
2024-12-02 22:43:11 +01:00
aa651ec62f
added trees
Cedric Beck
2024-12-02 22:43:03 +01:00
e163b87cc4
Updated 'MdgaServer' class. Updated the 'MdgaServer' class by updating the logic inside the 'connectionAdded' method in it.
Daniel Grigencha
2024-12-02 22:41:17 +01:00
1eb24b7a66
Updated 'MdgaServer' class. Updated the 'MdgaServer' class by updating the logic inside the 'connectionAdded' method in it.
Daniel Grigencha
2024-12-02 22:37:46 +01:00
492f7422f5
Updated 'LobbyAcceptMessage' class. Updated the 'LobbyAcceptMessage' class by adding the 'host' attribute and its getter method to it.
Daniel Grigencha
2024-12-02 22:36:48 +01:00
27f8af70f5
Updated 'Game' class. Updated the 'Game' class by setting the default value of 'host' attribute. In Addition, the 'isHost' method was added.
Daniel Grigencha
2024-12-02 22:34:45 +01:00
50ac201277
added two new pieceTests
Benjamin Feyer
2024-12-02 22:10:11 +01:00
5910fcc701
added the client logic to receive the LobbyAccept and LobbyDeny message
Fleischer Hanno
2024-12-02 21:52:07 +01:00
e94ed1e019
Fix syntax error
Felix Koppe
2024-12-02 21:51:09 +01:00
7d54a906dd
Add some more names
Felix Koppe
2024-12-02 21:48:23 +01:00
5ae65921bf
Add more random names
Felix Koppe
2024-12-02 21:42:12 +01:00
468e4005dc
Updated 'LobbyState' class. Updated the 'LobbyState' class by sending a broadcast update the new ready state of the client.
Daniel Grigencha
2024-12-02 21:23:53 +01:00
72321eab9a
Updated 'LobbyState' class. Updated the 'LobbyState' class by updating all received methods in it.
Daniel Grigencha
2024-12-02 21:22:49 +01:00
e87eb569c2
Add showInfo to MdgaView
Felix Koppe
2024-12-02 21:16:50 +01:00
baa967ecfc
Merge commit
Felix Koppe
2024-12-02 21:12:56 +01:00
8d39d61c71
Add infoNotification
Felix Koppe
2024-12-02 21:12:43 +01:00
7fcee3cac0
Updated 'MdgaServer' class. Updated the 'MdgaServer' class by register the 'IncorrectRequestMessage' class to the serializer.
Daniel Grigencha
2024-12-02 21:11:59 +01:00
1cf14f65bb
Updated 'MdgaServer' class. Updated the 'MdgaServer' class by updating the 'connectionAdded' method in it. In Addition, the JavaDoc text for this method was addded.
Daniel Grigencha
2024-12-02 21:04:36 +01:00
ebb9f839c7
added JavaDocs in Resources.java
Fleischer Hanno
2024-12-02 20:58:00 +01:00
3eef4b2a02
Updated 'PlayerData' class. Updated the 'PlayerData' class by replacing the magic constants with the 'Resources' class. In Addition, some JavaDoc texts were updated.
Daniel Grigencha
2024-12-02 20:56:59 +01:00
c1fa679261
Updated 'Resources' class. Updated the 'Resources' class by adding the 'MAX_PIECES' constant to it.
Daniel Grigencha
2024-12-02 20:45:07 +01:00
c48f924ead
Updated 'Resources' class. Updated the 'Resources' class by adding the 'MAX_PLAYERS' constant to it.
Daniel Grigencha
2024-12-02 20:43:47 +01:00
73859d8c81
added methods for getting Boolean, String, Double and int
Fleischer Hanno
2024-12-02 20:34:52 +01:00
1918aa80ff
Merge commit
Felix Koppe
2024-12-02 20:33:36 +01:00
d062b9dabc
Add forceStartGameButton to host in lobby
Felix Koppe
2024-12-02 20:32:46 +01:00
7ddcdc3f48
added the first error.messages and adjusted
Fleischer Hanno
2024-12-02 20:24:17 +01:00
2cefc2c293
Merge remote-tracking branch 'origin/development' into development
Fleischer Hanno
2024-12-02 20:19:44 +01:00
c4304ae99a
Updated 'Game' class. Updated the 'Game' class by removing the 'allReady' attribute in it. In Addtion, the 'areAllReady' method was added.
Daniel Grigencha
2024-12-02 20:19:13 +01:00
005df94114
added Resources calss to access teh properties
Fleischer Hanno
2024-12-02 19:55:18 +01:00
44f893ccef
Updated 'Game' class. Updated the 'Game' class by setting the 'die' attribute correctly inside the constructor.
Daniel Grigencha
2024-12-02 19:45:11 +01:00
0d9a922f55
Removed 'PlayerDataMessage' and 'StartBriefingMessage'.
Daniel Grigencha
2024-12-02 19:16:01 +01:00
289158cf35
Updated 'MdgaServer' class. Updated the 'MdgaServer' class by removing the 'PlayerDataMessage' and 'StartBriefingMessage' from the serializer.
Daniel Grigencha
2024-12-02 19:14:11 +01:00
0a0762b6c9
removed all instances of PlayerDataMEssage and StartBriefingMessage
Fleischer Hanno
2024-12-02 19:07:58 +01:00
90a21087df
added logic for incorrectRequest message and removed messages playerdata and startbriefing and created javadocs
Fleischer Hanno
2024-12-02 19:02:00 +01:00
294ecdc56f
Updated 'IncorrectRequestMessage' class. Updated the 'IncorrectRequestMessage' class by updating the content inside the 'accept' method in it.
Daniel Grigencha
2024-12-02 19:00:21 +01:00
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.
Daniel Grigencha
2024-12-02 18:58:15 +01:00
3daafde9f1
Updated 'ServerInterpreter' class. Updated the 'ServerInterpreter' class by adding the 'received(IncorrectRequestMessage msg)' method to it.
Daniel Grigencha
2024-12-02 18:50:42 +01:00
09fda6b167
Updated 'Game' class. Updated the 'Game' class by adding the 'isColorTaken' method to it.
Daniel Grigencha
2024-12-02 18:18:04 +01:00
bd55a1f08d
Merge branch 'development' into 'dev/test'
Benjamin Feyer
2024-12-02 16:37:00 +00:00
eee6fccde5
Updated 'DetermineStartPlayerState' class. Updated the 'DetermineStartPlayerState' class by setting the start state correctly and enter it.
Daniel Grigencha
2024-12-02 16:35:40 +01:00
2118c72891
Adjust RollDiceNotification
Felix Koppe
2024-12-02 16:34:55 +01:00
cb362c4d0c
Used auto-reformate code.
Daniel Grigencha
2024-12-02 16:31:57 +01:00
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.
Daniel Grigencha
2024-12-02 16:29:32 +01:00
167d898a3c
Updated 'StartNode' class. Updated the 'StartNode' class by reverting all enumerations to its origin types in it.
Daniel Grigencha
2024-12-02 16:25:33 +01:00
6c136b78b8
Updated 'Piece' class. Updated the 'Piece' class by reverting all enumeration to its orgin types.
Daniel Grigencha
2024-12-02 16:22:50 +01:00
9b9b5e6781
added a message in piecetest for ShufflePile
Benjamin Feyer
2024-12-02 16:03:42 +01:00
0f2766918b
added a testmethod for the piece for no powerCards
Benjamin Feyer
2024-12-02 15:57:53 +01:00
82234a7ff9
Merge commit
Felix Koppe
2024-12-02 15:44:41 +01:00
92d2e74748
Fix error regarding color in lobbyState
Felix Koppe
2024-12-02 13:06:59 +01:00
4561a962d4
Fix lobby isSelf logic and no longer assign color on join
Felix Koppe
2024-12-02 12:52:07 +01:00
5db7b64cef
fixed bug with seriliazation of Board, now sending playerdata seperate from teh board
Hanno Fleischer
2024-12-02 12:16:53 +01:00
bb1b721e77
Fix lobby in serverAutomaton and adjust TskUpdateMessage
Felix Koppe
2024-12-02 11:48:54 +01:00
206cad2f79
removed test card
Cedric Beck
2024-12-02 11:01:02 +01:00
314019a632
added one more test-class
Benjamin Feyer
2024-12-02 04:40:49 +01:00
798b6ebe1d
added some testmethods for the piecetest
Benjamin Feyer
2024-12-02 04:19:52 +01:00
3717e7b794
added javadocs to board
Cedric Beck
2024-12-02 03:48:11 +01:00
2cb8e512e6
added some testmethods for piecetest
Benjamin Feyer
2024-12-02 03:38:38 +01:00
6985d988f4
Updated 'DetermineStartPlayerState' class. Updated the 'DetermineStartPlayerState' class by updating the logic inside the 'received(RequestDieMessage msg, int from)' method in it.
Daniel Grigencha
2024-12-02 02:15:22 +01:00
6c3103b2ed
fixing serialization error
Fleischer Hanno
2024-12-02 02:14:45 +01:00