Hanno Fleischer
c9362a7a95
fixed bugs so the programm would start and added some Todo where code is missing or was fraudulent
2024-11-27 09:19:57 +01:00
Daniel Grigencha
20c9000d56
Merge remote-tracking branch 'origin/development' into development
2024-11-26 23:29:02 +01:00
Daniel Grigencha
5a911326ba
minor changes to the server state automaton
2024-11-26 23:28:49 +01:00
Hanno Fleischer
621bb9efae
fixed bugs inside of the client state machine and the message UpdateTSK
2024-11-26 20:31:16 +01:00
Fleischer Hanno
84c289cfd1
implemented all methods required for the state pattern in the client and adjusted the messages to work with player ids instead of names
2024-11-26 20:04:58 +01:00
Fleischer Hanno
f827757ad1
added next method for Color
2024-11-26 18:16:19 +01:00
Daniel Grigencha
e4a9b16fd5
Merge remote-tracking branch 'origin/development' into development
2024-11-26 18:12:32 +01:00
Daniel Grigencha
d63d0cc2a0
changed default constructor of 'Player' class
2024-11-26 18:12:08 +01:00
Hanno Fleischer
a127ee524a
Merge remote-tracking branch 'origin/development' into development
...
# Conflicts:
# Projekte/.run/MdgaApp.run.xml
2024-11-26 18:05:37 +01:00
Hanno Fleischer
5c2df2430d
reworked the client state machine and removed the seperate classes for the statemachines
...
these machines are now directly included in the parent states
2024-11-26 18:04:56 +01:00
Daniel Grigencha
2e76c41d3a
added new 'Disconnect' client message and updated 'Player' and 'Game' classes
2024-11-26 18:02:19 +01:00
Fleischer Hanno
7eafa3da39
refactored the whole client package structure
2024-11-25 17:43:29 +01:00
Fleischer Hanno
7178935553
refactored the model to incoporate a correct folder structure
2024-11-25 16:41:44 +01:00
Daniel Grigencha
f2d5221328
added import statement with the refactored server messages
2024-11-25 16:36:40 +01:00
Daniel Grigencha
06195854d8
added mdga server controller
2024-11-25 16:35:49 +01:00
Daniel Grigencha
321909387d
added new server state chart
2024-11-25 16:35:27 +01:00
Daniel Grigencha
9759b6871b
reverted server messages
2024-11-25 16:14:15 +01:00
Daniel Grigencha
52d9fff493
deleted server state automaton
2024-11-25 15:43:29 +01:00
Hanno Fleischer
31b449662f
added two Pieces in RequestPlayCard in order to differentiate between own and enemy pieces
2024-11-25 15:09:24 +01:00
Hanno Fleischer
3be037d590
added two lists in PossiblePiece in order to differentiate between own and enemy pieces
2024-11-25 15:07:43 +01:00
Hanno Fleischer
d15242f816
added static methods to construct a PlayCard message for each card type
2024-11-25 13:42:00 +01:00
Hanno Fleischer
4705512648
added getter for ArrayList Player in Game and created a flag for ready status in Player
2024-11-25 12:52:22 +01:00
Hanno Fleischer
7efb89c634
Merge remote-tracking branch 'origin/development' into development
2024-11-25 11:20:09 +01:00
Hanno Fleischer
15d1c36dad
added an ArrayList of Player in game and added the received methods in clientgamelogic
2024-11-25 11:19:17 +01:00
Daniel Grigencha
cc800a8dd7
added default constructor for serialization purposes
2024-11-24 23:55:48 +01:00
Daniel Grigencha
7c5720cb9d
fixed sonarlint errors and deleted map playerConnectionID
2024-11-24 23:06:30 +01:00
Fleischer Hanno
ed47883281
refactored ceremony message
2024-11-24 22:20:04 +01:00
Fleischer Hanno
599b3e8f47
corrected refactoring mistake, ich which RankingResponce was renamed to RankingResponse
2024-11-24 22:18:48 +01:00
Fleischer Hanno
040b8830ab
added getter for dialogstatemachine in dialogs
2024-11-24 22:03:19 +01:00
Fleischer Hanno
83c79af31a
made all con structors of clients states public
2024-11-24 21:56:32 +01:00
Daniel Grigencha
653c3fb962
added javadocs to all server messages
2024-11-24 20:51:03 +01:00
Daniel Grigencha
8932c8a8cd
added javadocs to all client messages
2024-11-24 19:56:51 +01:00
Fleischer Hanno
1d4048cf16
added the constructors for all client states and their statemachines
2024-11-24 16:02:04 +01:00
Daniel Grigencha
f425eff26b
added more logic for the server state diagram
2024-11-24 15:27:10 +01:00
Cedric Beck
16dc28013e
merge development into dev/client
2024-11-24 10:39:28 +01:00
Cedric Beck
11794b6ac7
added GuiHandler and showing bonuscards
2024-11-24 09:21:44 +01:00
Fleischer Hanno
806f0d7d9d
added message contents to the messages
...
addedn the conentents for all messages regarding the BPMN diagramm and own interpretation.
also created an identifier for pieces to be used for network communication between server and client so that they talk about the same piece.
2024-11-23 12:26:20 +01:00
Daniel Grigencha
89232901a7
added more logic for the server state diagram
2024-11-22 09:37:49 +01:00
Felix
c470c205e4
Add host&join menu and work on modelSyncronizer
2024-11-21 16:16:19 +01:00
Felix
982ca00b55
Make lobby buttons colored
2024-11-21 16:16:19 +01:00
Cedric Beck
c95beaeb14
working on pieceMovement
2024-11-17 23:57:36 +01:00
Daniel Grigencha
04501de11c
Merge remote-tracking branch 'origin/development' into development
2024-11-17 21:18:38 +01:00
Fleischer Hanno
f69a2a9fda
added a method to check if a player has pieces in his waiting area
2024-11-17 21:04:13 +01:00
Daniel Grigencha
e83ed1c835
Merge remote-tracking branch 'origin/development' into development
2024-11-17 20:17:29 +01:00
Daniel Grigencha
f379a6b638
added more logic for the server state diagram
2024-11-17 20:17:19 +01:00
Hanno Fleischer
90fb6e4133
added the method tryMove and the methods used by it into serverstate
2024-11-17 17:52:25 +01:00
Hanno Fleischer
9662e1f684
fixed a Bug where the import statement thought a package was a class because they where written the same
2024-11-17 15:34:39 +01:00
Daniel Grigencha
aae7ed9a87
added classes for client and server state machine
...
- a client state machine consits out of a 'ClientState' (every state of the machine) and a 'ClientStateMachine' (every state, which consists out of states), the machine starts with the ClientAutomaton
- analog for server
- started to implement logic for the server, transition from 'Lobby' to 'GameState'
2024-11-17 15:27:09 +01:00
Hanno Fleischer
a926554709
adjusted for check style
2024-11-17 12:01:00 +01:00
Hanno Fleischer
020aa92cab
added 4 more Notifications for Model -> View interaction
2024-11-17 10:39:36 +01:00