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 |
Max Wenzel
|
feb178966b
|
Refactoring: cleared-booleans are private now (add getters for Test)
|
3 years ago |
Max Wenzel
|
099158a3cc
|
add clearleft
|
3 years ago |
Max Wenzel
|
bed8974ae6
|
add clearRight
|
3 years ago |
Max Wenzel
|
424f38c8e6
|
add clearBelow
|
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 |
Max Wenzel
|
8a7ca119f1
|
add getEverySecondField in ai-logic
|
3 years ago |
Max Wenzel
|
ae0369d69c
|
Refact6oring: ai-logicTest restructured
|
3 years ago |
Max Wenzel
|
2bb7e50d52
|
add getBelow() in Matchfield - case: nothingBelow
|
3 years ago |
Max Wenzel
|
01485b199b
|
add getBelow() in Matchfield - DefaultCase
|
3 years ago |
Max Wenzel
|
b8e0dad737
|
add getAbove() in Matchfield - Case: nothingAbove
|
3 years ago |
Max Wenzel
|
9ab02247b8
|
add getAbove() in Matchfield - DefaultCase
|
3 years ago |
Max Wenzel
|
04359bd78e
|
Fix: Above = Right and Below = Left
|
3 years ago |
Max Wenzel
|
c3053c007f
|
add getAbove() in Matchfield - Case: nothingBelow
|
3 years ago |
Max Wenzel
|
d64aacbeaa
|
add getBelow() in Matchfield - DefaultCase
|
3 years ago |
Max Wenzel
|
6ea7194b5a
|
add getAbove() in Matchfield - Case: nothingAbove
|
3 years ago |
Max Wenzel
|
31322c4532
|
add getAbove() in Matchfield - DefaultCase
|
3 years ago |
Max Wenzel
|
471941d8fe
|
Refactoring: Use ParameterizedTest in CoordinateTest
|
3 years ago |
Max Wenzel
|
256aac0c55
|
Refactoring: Implements Coordinate into ai-logic
|
3 years ago |
Max Wenzel
|
1126d8e5a5
|
Refactoring: Implements Coordinate into Matchfield
|
3 years ago |
Max Wenzel
|
0f8991e48d
|
add setState
|
3 years ago |
Max Wenzel
|
8299c8affc
|
add DeafaultState(EMPTY) to Coordinate
|
3 years ago |
Max Wenzel
|
8c1e055df6
|
Coodrdinates returns correct Values for X and Y
|
3 years ago |
Max Wenzel
|
e9306913ca
|
choosenField returns only Fields with state != shot
|
3 years ago |
Lorenz Hohmann
|
d1f6548340
|
Merge branch 'matchfield' into fleetstorm
|
3 years ago |
Tobias Krause
|
2f85163f14
|
gameexplorer v0.1
|
3 years ago |
Tobias Krause
|
56e8b458e4
|
gameexplorer: each button opens a different (dummy) game panel
|
3 years ago |
Tobias Krause
|
491a3d6efe
|
gameexplorer: added action listeners for navigation between game and menu
|
3 years ago |
Tobias Krause
|
9047ea2c05
|
gameexplorer: added game panel
|
3 years ago |
Tobias Krause
|
4bc983679d
|
gameexplorer: added layout for navigation panel
|
3 years ago |