Commit Graph

254 Commits

Author SHA1 Message Date
Jona Walpert 50d75e2f03 Style: Checkstyle changes to LobbyUI 2026-03-14 14:48:37 +01:00
Lars Simon Winzer 3dbd3a6c15 Merge branch 'chore/conform-server-to-checkstyle' into 'main'
Edit server-side code to conform to checkstyle rules

See merge request cs108-fs26/Gruppe-13!25
2026-03-14 14:26:49 +01:00
Lars Simon Winzer 1aafc0bc4b Style: Use logger instead of System.out.println 2026-03-14 14:20:01 +01:00
jk 736cf230fb Merge branch 'main' into 'feat/game-ui' 2026-03-14 14:02:13 +01:00
Lars Simon Winzer 3ce0a44a18 Style: Trailing whitespace 2026-03-14 13:46:11 +01:00
Lars Simon Winzer 59494ea2d4 Style: Line length 2026-03-14 13:45:29 +01:00
Lars Simon Winzer 34c89b671e Style: Unnecessary spaces in JavaDoc parameter and return value labels 2026-03-14 13:44:58 +01:00
Lars Simon Winzer 573c5fd36d Style: Singleline JavaDoc comments 2026-03-14 13:37:04 +01:00
Jona Walpert 09ebacc1e4 chore: remove demo code from project 2026-03-14 13:36:27 +01:00
Lars Simon Winzer 7be2229280 Style: Sort imports 2026-03-14 13:33:46 +01:00
Julian Kropff 59a4648ad6 fix: reorganize folder structure for chat components 2026-03-14 13:01:41 +01:00
jk 1fe6d9ce5d add: casino browser controller 2026-03-14 11:43:01 +01:00
jk 815caff372 add: chat controller 2026-03-14 11:34:50 +01:00
jk c441318df9 fix: update launcher logic 2026-03-14 11:33:50 +01:00
jk 18d8b68fc8 fix: update and rename taskbar controller logic 2026-03-14 11:28:02 +01:00
jk 4ecbe21602 fix: update and rename casino game ui logic 2026-03-14 11:26:30 +01:00
jk e718083010 fix: update and rename casino controller logic 2026-03-14 11:24:14 +01:00
Lars Simon Winzer 9b40396eed Merge branch 'feat/network-manager' into 'main'
Add (v1) NetworkManager, Session and Transport

See merge request cs108-fs26/Gruppe-13!17
2026-03-13 15:49:55 +01:00
Lars Simon Winzer 4bcb9a9874 Style: Newline at end of file 2026-03-13 15:46:12 +01:00
Lars Simon Winzer 38133e6761 Docs: Add JavDoc for all classes and methods 2026-03-13 15:16:15 +01:00
Lars Simon Winzer 4231ca3e97 Ammend to 49019075e4 2026-03-13 15:12:06 +01:00
Jona Walpert a39775bd04 refactor: Button_ID - Lobby_ID translation is now only stored in hasmap and not in a Json file anymore 2026-03-13 14:54:47 +01:00
Lars Simon Winzer 49019075e4 Move: Network related files into respective folders 2026-03-13 14:42:19 +01:00
Lars Simon Winzer 711de2e6aa Add: Make use of SessionManager 2026-03-12 20:13:50 +01:00
Lars Simon Winzer 74566f99cf Fix: Direct (unallowed) cast from Consumer<T> to Consumer<Object> 2026-03-12 20:12:52 +01:00
Lars Simon Winzer c301039bfc Add: SessionManager to store all active sessions 2026-03-12 19:34:46 +01:00
Lars Simon Winzer e1029932d8 Fix: 'Potential null pointer access' 2026-03-12 19:27:29 +01:00
Lars Simon Winzer db7892d9c4 Fix: 'Type safety: Unchecked cast from ...' 2026-03-12 19:26:00 +01:00
Lars Simon Winzer 7b32fe1147 Add: Event interface and implement it in DisconnectEvent, update EventBus to only allow Event type 2026-03-12 19:16:59 +01:00
Lars Simon Winzer 54588276d1 Add: Let Session publish DisconnectEvent and EventHandler subscribe and handle it 2026-03-12 19:15:25 +01:00
Lars Simon Winzer fc8a92789a Add: DisconnectEvent as record 2026-03-12 19:13:25 +01:00
Lars Simon Winzer 7fcb47ed6f Add: EventBus class for event handling and subscription management 2026-03-12 19:12:53 +01:00
Lars Simon Winzer d4bf69dc59 Refactor: Session to use TransportLayer for socket communication 2026-03-12 15:55:46 +01:00
Lars Simon Winzer b073760eef Add: TcpTransport class to implement TransportLayer 2026-03-12 15:51:35 +01:00
Lars Simon Winzer 48d77b6cbe Add: TransportLayer interface to abstract direct socket access 2026-03-12 15:47:03 +01:00
Jona Walpert d2407d61f4 Add: Lobby display in lobby GUI with placeholder functions. 2026-03-12 15:25:18 +01:00
Lars Simon Winzer f4a32b1649 Add: Session Runnable to read incomming data, decode and print it 2026-03-12 13:45:30 +01:00
Lars Simon Winzer 5407e245f7 Add: Modify NetworkManager to create Session uppon recieving a new connection 2026-03-12 13:43:35 +01:00
Jona Walpert 02dc75c331 Add: Javadoc to client side files for lauching (lobby) UI, Main file 2026-03-12 11:31:41 +01:00
Julian Kropff d47084d6f5 feat(game-ui): add TaskbarController 2026-03-12 07:24:28 +01:00
Julian Kropff c87e6f1463 feat(game-ui): add Casinogamecontroller 2026-03-12 07:22:50 +01:00
Julian Kropff 23faf0f371 feat(game-ui): add Casinogameui base class 2026-03-12 07:21:16 +01:00
Julian Kropff 268cf283bd chore(launcher): start Casinogameui for development 2026-03-12 07:18:18 +01:00
Lars Simon Winzer 5ff4dcec53 Move: Session and SessionId from common to server 2026-03-11 18:53:30 +01:00
Lars Simon Winzer dac05de331 Add: Primitive first version of NetworkManager 2026-03-11 18:23:26 +01:00
Jona Walpert a5204eaf29 Add: Lobby UI 2026-03-11 15:16:31 +01:00
Jona Walpert ac9e7eecff Add: Main UI, UI Launcher 2026-03-11 11:36:57 +01:00
Jona Walpert c1a4b436fe Add: Game Logo, Background Image 2026-03-11 11:35:38 +01:00
Lars Simon Winzer 66925bc665 Add: Session interface all sessions need to conform to 2026-03-05 13:46:10 +01:00
Lars Simon Winzer ff38c9d6ef Add: SessionId class to uniquely identify session in SessionRegistry 2026-03-05 13:38:36 +01:00