Hanno Fleischer
|
7053b163e5
|
adjusted LobbyState in the client to use the correct Data
|
2024-12-03 18:19:55 +01:00 |
|
Hanno Fleischer
|
81cb2f33ff
|
adjusted all constuctors of nodes so that if someone creates a node the piece will be null and the option for a constuctor without arguments is still given for serialization purposes
|
2024-12-03 17:56:39 +01:00 |
|
Hanno Fleischer
|
69865bb504
|
added the playeringamenotification to be created from the right dataset
|
2024-12-03 16:48:08 +01:00 |
|
Felix Koppe
|
db50986f3f
|
Fix serialisation issue
|
2024-12-03 15:38:13 +01:00 |
|
Daniel Grigencha
|
bb51976127
|
Updated 'Node' class.
Updated the 'Node' class by overload the 'isOccupied' method in it.
|
2024-12-03 04:57:30 +01:00 |
|
Daniel Grigencha
|
0db1f08f3c
|
Updated abstract 'GameAutomatonState' class.
Updated the abstract 'GameAutomatonState' class by adding the 'getGameAutomaton' method to it.
|
2024-12-03 04:49:16 +01:00 |
|
Daniel Grigencha
|
336f1ec316
|
Updated 'Resources' class.
Updated the 'Resources' class by adding the 'MAX_EYES' constant to it.
|
2024-12-03 04:29:16 +01:00 |
|
Daniel Grigencha
|
a1e687912a
|
Updated abstract 'TurnAutomatonState' class.
Updated the abstract 'TurnAutomatonState' class by adding the 'getTurnAutomaton' method to it.
|
2024-12-03 04:09:35 +01:00 |
|
Daniel Grigencha
|
2248d044c1
|
Updated 'AnimationState' class.
Updated the 'AnimationState' class by updating the content inside the 'received(AnimationEndMessage msg, int from) method in it.
|
2024-12-03 03:41:58 +01:00 |
|
Daniel Grigencha
|
79bf1c16e8
|
Updated 'Game' class.
Updated the 'Game' class by adding the 'getActivePlayerId' method to it.
|
2024-12-03 03:40:24 +01:00 |
|
Daniel Grigencha
|
3353a890d3
|
Updated 'Game' class.
Updated the 'Game' class by adding the 'getPlayerIdByColor' method to it.
|
2024-12-03 03:36:22 +01:00 |
|
Daniel Grigencha
|
a012402a85
|
Updated abstract 'TurnAutomatonState' class.
Updated the abstract 'TurnAutomatonState' class by updating the JavaDoc text of the constructor.
|
2024-12-03 02:15:10 +01:00 |
|
Daniel Grigencha
|
5aaf8d4850
|
Updated 'TurnState' class.
Updated the 'TurnState' class by setting the start state in it.
|
2024-12-03 01:31:22 +01:00 |
|
Daniel Grigencha
|
35ab777f04
|
Updated 'DetermineStartPlayerState' class.
Updated the 'DetermineStartPlayerState' class by fixing the logic inside the received(RequestDieMessage msg, int from)' method in it.
|
2024-12-03 01:30:39 +01:00 |
|
Daniel Grigencha
|
c707abc465
|
Updated 'Die' class.
Updated the 'Die' class by adding another constructor for test cases to it.
|
2024-12-03 01:04:02 +01:00 |
|
Daniel Grigencha
|
2a84e7cf65
|
Updated 'Player' class.
Updated the 'Player' class by moving all content of 'PlayerData' class in 'Player' class.
|
2024-12-03 00:51:45 +01:00 |
|
Daniel Grigencha
|
3a02edb944
|
Updated 'PlayerData' class.
Updated the 'PlayerData' class by updating the 'Piece' creation inside the constructor.
|
2024-12-03 00:50:53 +01:00 |
|
Daniel Grigencha
|
1870d4fe0e
|
Updated 'ShieldState' enumeration.
Updated the 'ShieldState' enumeration by removing unused methods from it.
|
2024-12-03 00:49:09 +01:00 |
|
Daniel Grigencha
|
5cf9746931
|
Updated 'PieceState' enumeration.
Updated the 'PieceState' enumeration by removing unused methods from it.
|
2024-12-03 00:48:39 +01:00 |
|
Daniel Grigencha
|
5b9bc7aa36
|
Updated 'Piece' class.
Updated the 'Piece' class by removing the unused 'id' parameter from the constructor.
|
2024-12-03 00:38:24 +01:00 |
|
Daniel Grigencha
|
abe66aff5d
|
Updated 'LobbyState' class.
Updated 'LobbyState' class by removed unused imports in it.
|
2024-12-03 00:37:24 +01:00 |
|
Fleischer Hanno
|
eea566cc8b
|
added the logic for server shutdown
|
2024-12-02 23:25:54 +01:00 |
|
Daniel Grigencha
|
bd07a44607
|
Merge branch 'development' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into development
|
2024-12-02 23:24:02 +01:00 |
|
Daniel Grigencha
|
838f59b9aa
|
Updated 'ServerState' class.
Updated the 'ServerState' class by filling the 'received(LeaveGameMessage msg, int from)' in it.
|
2024-12-02 23:22:45 +01:00 |
|
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 |
|