94 Commits (gameexplorer_gui)

Author SHA1 Message Date
Lorenz Hohmann 66f48dd8d1 Added GameManager and check if GameState is correct after start function call 2 years ago
Lorenz Hohmann 353c68c358 Fixed JUnit Imports (Maven didn't compile correctly) 2 years ago
Lorenz Hohmann bed8f71879 Implemented gameOver() function in GUI with test case 2 years ago
Lorenz Hohmann 8e92a1caee Added third test for areAllShipsHit() when a ship is not fully hit 2 years ago
Lorenz Hohmann aae87e50e1 Refactoring MatchfieldShipTest class: added description for tests and outsourced multiple tests into more functions 2 years ago
Lorenz Hohmann 27e7a96ba7 Added second test case for areAllShipsHit() - all ships hit test 2 years ago
Lorenz Hohmann abeaff8d7b Implemented areAllShipsHit() with first test case if no ship was hit 2 years ago
Lorenz Hohmann 805c233108 Fixed GameLogicTest with new test parameter in start() function 2 years ago
Lorenz Hohmann b11262ba56 Changed whole GUI layout to two matchfields 2 years ago
Lorenz Hohmann d472759a1c Implemented logic after ai made move and player made move 2 years ago
Lorenz Hohmann 79f90946a5 Refactored LogicTest: No longer useful with general game loop 2 years ago
Lorenz Hohmann cc34afa847 Added test case when field was already hitted 2 years ago
Lorenz Hohmann 4d69cc3e76 Added test case when field was already shot (expect false) 2 years ago
Lorenz Hohmann 8c49de9767 New test case for shoot(): Check if field was already shot 2 years ago
Lorenz Hohmann dd87d19b18 Added second test case to shoot(): Call on Coordinate without ship 2 years ago
Lorenz Hohmann fadf708556 Added shoot() function to Coordinate class with first test case 2 years ago
Lorenz Hohmann 86e79f0a49 Implemented test if ship is already on position in shipSet 2 years ago
Lorenz Hohmann 65ad351305 Added second test case for invalid coordinates on setShip (5x1, direction 1) 2 years ago
Lorenz Hohmann 246ecfa6bd Added test case for invalid coordinates on setShip (2x1, direction 0) 2 years ago
Lorenz Hohmann 4426627a5b Added third test case for setShip() (4x1, direction 1) 2 years ago
Lorenz Hohmann d47d765c92 Added second test case for setShip() (3x1, direction 0) 2 years ago
Lorenz Hohmann 6de05cb134 Implemented setShip() in Matchfield with first test case for 2x1 ship in direction 0 2 years ago
Lorenz Hohmann 871f5fb860 United AI with GameLogic 2 years ago
Lorenz Hohmann c1cbf6a077 United GameManager with GUI class (Refactoring) 2 years ago
Lorenz Hohmann 3211601bd5 Added nextMove() function to check wheter the player or AI has move 2 years ago
Lorenz Hohmann 557984b581 Added GameManager and check if GameState is correct after start function call 2 years ago
Max Wenzel 79a7556286 if ShipIsOnYAxis, ai doesent check XAxis 2 years ago
Max Wenzel 3c1e3d19e5 Refactoring: chooseField doesent need Params now 2 years ago
Max Wenzel 4a02c0b7cc chooseField returns correekt Field case:Left has Ship 2 years ago
Max Wenzel d983b43642 chooseField returns correekt Field case:Right has Ship 2 years ago
Max Wenzel f7c0a6da9c small Refactoring: chooseFieldBelowAfterHit 2 years ago
Max Wenzel 1fd251655c Fix: chooseField makes way more sense now 2 years ago
Max Wenzel fbdade30e3 chooseField returns correekt Field case:Down has Ship 2 years ago
Max Wenzel d5bd72a53c Refactoring: testChooseFieldAboveAfterHit 2 years ago
Max Wenzel af264751e5 chooseField returns correekt Field cae:Up has Ship 2 years ago
Max Wenzel ac9183ea27 overload getState() in Matchfield 2 years ago
Max Wenzel 3364446cd6 add sinkShip 2 years ago
Max Wenzel 8a169d52de add Setter for ClearedLeft 2 years ago
Max Wenzel 908beb15c8 add Setter for ClearedRight 2 years ago
Max Wenzel 6aa384e173 add Setter for ClearedBelow 2 years ago
Max Wenzel 3ddb76e0ab add Setter for ClearedAbove 2 years ago
Max Wenzel ed7474228a Refactoring: add Constructor to set DefaultValues 2 years ago
Max Wenzel cdf4b5b14d Refactoring: cleared-booleans are private now (add getters for Test) 2 years ago
Max Wenzel 6b53586a1b add clearleft 2 years ago
Max Wenzel ba410306ac add clearRight 2 years ago
Max Wenzel 0387c76c97 add clearBelow 2 years ago
Max Wenzel 794f4bbb51 add clearAbove 2 years ago
Max Wenzel e064873635 Refactoring: boolean foundShip is private now 2 years ago
Max Wenzel 61cd9ad08a add findShip() 2 years ago
Max Wenzel bf1f6b2ac3 Refactoring: getEverySecondField() doesn't need param matchfield anymore 2 years ago