Commit Graph

31 Commits

Author SHA1 Message Date
Luca Conte b7215db6d9 destroy players on game end 2024-12-20 17:57:50 +01:00
ole 3370975e57 change parameta from showPanelWin and loos to check the request 2024-12-20 17:31:32 +01:00
Luca Conte fdd2e6d2f1 Merge pull request 'lucasjoshua' (#20) from lucasjoshua into main
Reviewed-on: #20
2024-12-20 16:08:05 +00:00
FlorianAlexy 8e4a516e2c smol fix
:3
2024-12-19 16:44:07 +01:00
Kaver e27b852c14 Kleine JavaDoc Anpassungen 2024-12-18 18:39:19 +01:00
Joshua 15c23c1f2c Added final TODOs 2024-12-17 17:21:59 +01:00
Joshua 42fc341608 Added more Javadoc (TODOs) comments. 2024-12-17 16:42:50 +01:00
Kaver 10e5a8ef5e WinScreen und LooseScreen erstellt zzgl. Methoden in MainFrame für Aufrufen aus dem Backend.
Diverse Javadoc Kommentaren hinzugefügt und alte nicht mehr Gebraucht Klassen entfernt.
Viel Code aufgeräumt
2024-12-17 16:30:05 +01:00
Joshua db2b0532bc Added more Javadoc (TODOs) comments. 2024-12-17 14:34:03 +01:00
Joshua 8c953a1f2b Added Javadoc comments to all FrontEnd classes.
Added functionality to mute button.
Added "//" comments to all Actionlisteners.
Added "Todo" where there is still need for something
2024-12-17 09:19:52 +01:00
Kaver 0935c3bcb7 WinLoose grob erstellt 2024-12-15 16:55:29 +01:00
Joshua d8804d5369 Added TODO for frontend 2024-12-15 16:17:02 +01:00
Luca Conte f565708461 implement ready for players and board refresh method 2024-12-15 14:21:17 +01:00
Joshua 970550308b Fixed showing Player names in GameBoard.
Added functionality to Button coloring (when selected, placed etc.)
2024-12-15 13:48:01 +01:00
Joshua bf78db9404 Added (currently not working) ship rotation method, colored Ready and Reset button, added (currently not working) Player name Labels etc. to GameBoard 2024-12-13 20:46:38 +01:00
Kaver 00df38dd7a Merge remote-tracking branch 'origin/lucasjoshua' into lucasjoshua
# Conflicts:
#	src/BoardDisplay.java
2024-12-13 17:06:45 +01:00
Joshua 84865e5468 Added comments (Javadoc etc.) to most GUI classes und deleted old code and comments etc. (in general cleanup) 2024-12-12 17:19:35 +01:00
Kaver 663991e418 Merge remote-tracking branch 'origin/start-game' into lucasjoshua
# Conflicts:
#	src/JoinGame.java
2024-12-10 16:58:38 +01:00
Joshua 3b6ffeb82d JoinGame and related functions should now work properly 2024-12-10 13:48:55 +01:00
Luca Conte c55a62663e pass main frame to game controller 2024-12-10 12:50:19 +01:00
Joshua 15ff3034d3 Added Comments to MainFrame,
Fixed functionality of left/right buttons after adding more difficulties in startLocalGame and startMultiplayerGame
2024-12-04 11:51:00 +01:00
Joshua 48bc601a0d Added BoardDisplay, startet connecting FrontEnd/BackAnd.
Added new graphics.
Added startLocalGameLoadingScreen
2024-12-03 15:33:15 +01:00
Kaver 3b9b1eaebb Klasse fuer verbinden Panel erstellt(extrem grobes Beispiel) und Panel Weiterleitung eingefuegt
Anpassungen an ActionListenern in MainMenuView

Backbutton mit Funktion eingefuegt fuer joinGame Panel
2024-12-02 19:04:34 +01:00
Joshua 2274a1e558 Created GameBoard.
Added showPanel methods to pass parameters between methods.
2024-11-26 17:15:21 +01:00
Kaver 5cabd5325a Umstrukturierung von MainFrame, sodass beim druecken eines Buttons parameter an die Funktion uebergeben werden welche das naechste Panel stellt (showPanelExtra) 2024-11-26 16:42:00 +01:00
Joshua 1fc1abee3a Merge remote-tracking branch 'origin/lucasjoshua' into lucasjoshua 2024-11-26 14:14:43 +01:00
Joshua 3d557361ee Implemented coinToss(still incomplete) 2024-11-26 14:13:14 +01:00
Kaver ea6a1c9804 grobe Weiterleitung fuer startMultiplayerGame an Spiel beitreten/Spiel erstellen eingefügt 2024-11-19 18:33:05 +01:00
Joshua 6ef3b38dd5 Implemented CardLayout into startMultiplayerGame, startLocalGame, MainMenuView. Implemented MainFrame. 2024-11-19 17:08:59 +01:00
Kaver a84110a8a8 Panellogik neu gemacht und dementsprechend views angepasst 2024-11-19 15:41:45 +01:00
Joshua 607004a3b3 Added test classes for CardLayout and GameBoard.java 2024-11-19 14:24:09 +01:00