288 Commits (ef1fff12fe310a5c794afd024f124434e3d65ed9)
 

Author SHA1 Message Date
Jenkins 61e1035bb1 Merge commit '353c68c35867e57d918907c9d8d86edbeb0890e1' into HEAD 3 years ago
Lorenz Hohmann af28ea8e34 Improved random ship positioning 3 years ago
Lorenz Hohmann a32541b39f Implemented finished random ship positionig method into gui 3 years ago
Lorenz Hohmann f753e07ac1 Refactoring MatchfieldShipTest class 3 years ago
Lorenz Hohmann 3ff4b665f6 Implemented method to random position ships on matchfield 3 years ago
Lorenz Hohmann a05c6c09b9 Added Test case when one coordinate is hit, but others on free field (isFreePosition() method) 3 years ago
Lorenz Hohmann 8915964ed0 Added Test case when no ship is within the coordinates (isFree() method) 3 years ago
Lorenz Hohmann 0419b89aaa Refactoring: MatchfieldShipTest class 3 years ago
Lorenz Hohmann 7830143d4b Added isFreePosition() with first test case when position is filled 3 years ago
Lorenz Hohmann 353c68c358 Fixed JUnit Imports (Maven didn't compile correctly) 3 years ago
Lorenz Hohmann d5d6af193e Beautified GUI Won Screen 3 years ago
Lorenz Hohmann bed8f71879 Implemented gameOver() function in GUI with test case 3 years ago
Lorenz Hohmann 8e92a1caee Added third test for areAllShipsHit() when a ship is not fully hit 3 years ago
Lorenz Hohmann aae87e50e1 Refactoring MatchfieldShipTest class: added description for tests and outsourced multiple tests into more functions 3 years ago
Lorenz Hohmann 27e7a96ba7 Added second test case for areAllShipsHit() - all ships hit test 3 years ago
Lorenz Hohmann abeaff8d7b Implemented areAllShipsHit() with first test case if no ship was hit 3 years ago
Lorenz Hohmann 805c233108 Fixed GameLogicTest with new test parameter in start() function 3 years ago
Lorenz Hohmann 5d039543b7 GUI Refactoring 3 years ago
Lorenz Hohmann 629063b5ff Fixed that AI has next move when ship was hit 3 years ago
Lorenz Hohmann dd2ddc5811 Fixed chooseField returns null 3 years ago
Max Wenzel 53bc0d9064 chooseField still works after returning null 3 years ago
Lorenz Hohmann b11262ba56 Changed whole GUI layout to two matchfields 3 years ago
Lorenz Hohmann d472759a1c Implemented logic after ai made move and player made move 3 years ago
Lorenz Hohmann 79f90946a5 Refactored LogicTest: No longer useful with general game loop 3 years ago
Lorenz Hohmann a42df0aac2 Added shoot() function to panel click for general game loop 3 years ago
Lorenz Hohmann cc34afa847 Added test case when field was already hitted 3 years ago
Lorenz Hohmann 4d69cc3e76 Added test case when field was already shot (expect false) 3 years ago
Lorenz Hohmann 8c49de9767 New test case for shoot(): Check if field was already shot 3 years ago
Lorenz Hohmann dd87d19b18 Added second test case to shoot(): Call on Coordinate without ship 3 years ago
Lorenz Hohmann fadf708556 Added shoot() function to Coordinate class with first test case 3 years ago
Lorenz Hohmann fff174937b Refactoring: getCoordinateFromLabel() 3 years ago
Lorenz Hohmann 94ff308379 Implemented first move 'animation' for GUI 3 years ago
Lorenz Hohmann 7038a4c607 Added default ship positioning to GUI 3 years ago
Lorenz Hohmann 86e79f0a49 Implemented test if ship is already on position in shipSet 3 years ago
Lorenz Hohmann 65ad351305 Added second test case for invalid coordinates on setShip (5x1, direction 1) 3 years ago
Lorenz Hohmann 246ecfa6bd Added test case for invalid coordinates on setShip (2x1, direction 0) 3 years ago
Lorenz Hohmann 4426627a5b Added third test case for setShip() (4x1, direction 1) 3 years ago
Lorenz Hohmann d47d765c92 Added second test case for setShip() (3x1, direction 0) 3 years ago
Lorenz Hohmann 6de05cb134 Implemented setShip() in Matchfield with first test case for 2x1 ship in direction 0 3 years ago
Lorenz Hohmann 871f5fb860 United AI with GameLogic 3 years ago
Lorenz Hohmann c1cbf6a077 United GameManager with GUI class (Refactoring) 3 years ago
Lorenz Hohmann f36500d195 Added mouse listener to register click on matchfield 3 years ago
Lorenz Hohmann 46d51b2b8b Refactored GUI and generated Getters 3 years ago
Lorenz Hohmann b937245b63 Added game info sidebar 3 years ago
Lorenz Hohmann 936a563422 Created gui with minimal elements 3 years ago
Lorenz Hohmann 3211601bd5 Added nextMove() function to check wheter the player or AI has move 3 years ago
Lorenz Hohmann 557984b581 Added GameManager and check if GameState is correct after start function call 3 years ago
Max Wenzel 79a7556286 if ShipIsOnYAxis, ai doesent check XAxis 3 years ago
Max Wenzel 3c1e3d19e5 Refactoring: chooseField doesent need Params now 3 years ago
Max Wenzel 2022df6682 restrucered logic-Class 3 years ago