109 Commits (e56b907d9337e98a6a068160214ee1ce671a1ade)
 

Author SHA1 Message Date
Lorenz Hohmann e56b907d93 Implemented gameOver() function in GUI with test case 3 years ago
Lorenz Hohmann 9655578893 Added third test for areAllShipsHit() when a ship is not fully hit 3 years ago
Lorenz Hohmann 4416e58da6 Refactoring MatchfieldShipTest class: added description for tests and outsourced multiple tests into more functions 3 years ago
Lorenz Hohmann 3fff23b6ca Added second test case for areAllShipsHit() - all ships hit test 3 years ago
Lorenz Hohmann ecc8b70262 Implemented areAllShipsHit() with first test case if no ship was hit 3 years ago
Lorenz Hohmann e2484ed049 Fixed GameLogicTest with new test parameter in start() function 3 years ago
Lorenz Hohmann 114692a63f GUI Refactoring 3 years ago
Lorenz Hohmann 67aa58c674 Fixed that AI has next move when ship was hit 3 years ago
Lorenz Hohmann 0b95d9cdaf Fixed chooseField returns null 3 years ago
Lorenz Hohmann c3d7c92e28 Merge branch 'fleetstorm' of https://gogs.informatik.hs-fulda.de/LorenzHohmann/tims into fleetstorm 3 years ago
Lorenz Hohmann 96c14b288e Changed whole GUI layout to two matchfields 3 years ago
Max Wenzel 216c83d083 chooseField still works after returning null 3 years ago
Lorenz Hohmann 9ee90bf9c8 Implemented logic after ai made move and player made move 3 years ago
Lorenz Hohmann 26135f4d3a Refactored LogicTest: No longer useful with general game loop 3 years ago
Lorenz Hohmann f51dd69dea Added shoot() function to panel click for general game loop 3 years ago
Lorenz Hohmann ae72cce719 Added test case when field was already hitted 3 years ago
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