93 Commits (77656709ebd86ef9369ff0f8c87f288b52657df7)
 

Author SHA1 Message Date
Lorenz Hohmann 77656709eb Added test case when field was already shot (expect false) 3 years ago
Lorenz Hohmann 13ff6d73d3 New test case for shoot(): Check if field was already shot 3 years ago
Lorenz Hohmann 8af75f753a Added second test case to shoot(): Call on Coordinate without ship 3 years ago
Lorenz Hohmann 5cae5a9f2b Added shoot() function to Coordinate class with first test case 3 years ago
Lorenz Hohmann 2ce6f14a14 Refactoring: getCoordinateFromLabel() 3 years ago
Lorenz Hohmann 78fed5e20e Implemented first move 'animation' for GUI 3 years ago
Lorenz Hohmann ab2113535f Added default ship positioning to GUI 3 years ago
Lorenz Hohmann 9383a7c795 Implemented test if ship is already on position in shipSet 3 years ago
Lorenz Hohmann ea20c056bd Added second test case for invalid coordinates on setShip (5x1, direction 1) 3 years ago
Lorenz Hohmann 76fca1d7d6 Added test case for invalid coordinates on setShip (2x1, direction 0) 3 years ago
Lorenz Hohmann ccb9137565 Added third test case for setShip() (4x1, direction 1) 3 years ago
Lorenz Hohmann 3d8076158a Added second test case for setShip() (3x1, direction 0) 3 years ago
Lorenz Hohmann eb78d7ddf1 Implemented setShip() in Matchfield with first test case for 2x1 ship in direction 0 3 years ago
Lorenz Hohmann 879f2c6221 United AI with GameLogic 3 years ago
Max Wenzel bc18feb71c Fix: Mergconflict: add Coordinate in MatchfielCreationTest 3 years ago
Max Wenzel c6acd0b4d4 if ShipIsOnYAxis, ai doesent check XAxis 3 years ago
Max Wenzel c3bb8f27b9 Refactoring: chooseField doesent need Params now 3 years ago
Max Wenzel 59bb3317e0 restrucered logic-Class 3 years ago
Max Wenzel 8537bf65dd chooseField returns correekt Field case:Left has Ship 3 years ago
Max Wenzel bec18067d0 chooseField returns correekt Field case:Right has Ship 3 years ago
Max Wenzel e7fc5c7d20 small Refactoring: chooseFieldBelowAfterHit 3 years ago
Max Wenzel 7759a2ff28 Fix: chooseField makes way more sense now 3 years ago
Max Wenzel d3f1abdd7b chooseField returns correekt Field case:Down has Ship 3 years ago
Max Wenzel fe3d516023 Refactoring: testChooseFieldAboveAfterHit 3 years ago
Max Wenzel dd1a7a34af chooseField returns correekt Field cae:Up has Ship 3 years ago
Max Wenzel 2300c6dd19 overload getState() in Matchfield 3 years ago
Max Wenzel f64d8a10f9 add sinkShip 3 years ago
Max Wenzel 1eb77214f2 add Setter for ClearedLeft 3 years ago
Max Wenzel 97a4a0a917 add Setter for ClearedRight 3 years ago
Max Wenzel bd37297e1b add Setter for ClearedBelow 3 years ago
Max Wenzel d84022265e add Setter for ClearedAbove 3 years ago
Max Wenzel 9553973b50 Refactoring: add Constructor to set DefaultValues 3 years ago
Max Wenzel 4398b8259b Refactoring: Coordinate target is private now 3 years ago
Lorenz Hohmann 4b71ac31e4 United GameManager with GUI class (Refactoring) 3 years ago
Max Wenzel feb178966b Refactoring: cleared-booleans are private now (add getters for Test) 3 years ago
Lorenz Hohmann 2acebc2cad Added mouse listener to register click on matchfield 3 years ago
Max Wenzel 099158a3cc add clearleft 3 years ago
Max Wenzel bed8974ae6 add clearRight 3 years ago
Lorenz Hohmann 5398f948fb Refactored GUI and generated Getters 3 years ago
Max Wenzel 424f38c8e6 add clearBelow 3 years ago
Lorenz Hohmann def0f3a1b9 Added game info sidebar 3 years ago
Max Wenzel 527a4b3c6b add clearAbove 3 years ago
Max Wenzel f121019011 Refactoring: boolean foundShip is private now 3 years ago
Max Wenzel d968308c20 add findShip() 3 years ago
Max Wenzel b11ae369ca Refactoring: getEverySecondField() doesn't need param matchfield anymore 3 years ago
Max Wenzel 6a23fedd61 Refactoring: chooseField() doesn't need param matchfield anymore 3 years ago
Max Wenzel 9a1f3669da Refactoring: setLastShot() doesn't need param matchfield anymore 3 years ago
Max Wenzel fa329801f1 add Matchfield variable with Getter/Setter in ai-logic 3 years ago
Max Wenzel acdb95b9d6 add lastShot with Getter/Setter in ai-logic 3 years ago
Max Wenzel 8f8e32f378 Refactoring testEverySecondField (override Equals of Coordinate) 3 years ago