Max Wenzel
|
d983b43642
|
chooseField returns correekt Field case:Right has Ship
|
3 years ago |
Max Wenzel
|
f7c0a6da9c
|
small Refactoring: chooseFieldBelowAfterHit
|
3 years ago |
Max Wenzel
|
1fd251655c
|
Fix: chooseField makes way more sense now
|
3 years ago |
Max Wenzel
|
fbdade30e3
|
chooseField returns correekt Field case:Down has Ship
|
3 years ago |
Max Wenzel
|
d5bd72a53c
|
Refactoring: testChooseFieldAboveAfterHit
|
3 years ago |
Max Wenzel
|
af264751e5
|
chooseField returns correekt Field cae:Up has Ship
|
3 years ago |
Max Wenzel
|
ac9183ea27
|
overload getState() in Matchfield
|
3 years ago |
Max Wenzel
|
3364446cd6
|
add sinkShip
|
3 years ago |
Max Wenzel
|
8a169d52de
|
add Setter for ClearedLeft
|
3 years ago |
Max Wenzel
|
908beb15c8
|
add Setter for ClearedRight
|
3 years ago |
Max Wenzel
|
6aa384e173
|
add Setter for ClearedBelow
|
3 years ago |
Max Wenzel
|
3ddb76e0ab
|
add Setter for ClearedAbove
|
3 years ago |
Max Wenzel
|
ed7474228a
|
Refactoring: add Constructor to set DefaultValues
|
3 years ago |
Max Wenzel
|
7db470de84
|
Refactoring: Coordinate target is private now
|
3 years ago |
Max Wenzel
|
cdf4b5b14d
|
Refactoring: cleared-booleans are private now (add getters for Test)
|
3 years ago |
Max Wenzel
|
6b53586a1b
|
add clearleft
|
3 years ago |
Max Wenzel
|
ba410306ac
|
add clearRight
|
3 years ago |
Max Wenzel
|
0387c76c97
|
add clearBelow
|
3 years ago |
Max Wenzel
|
794f4bbb51
|
add clearAbove
|
3 years ago |
Max Wenzel
|
e064873635
|
Refactoring: boolean foundShip is private now
|
3 years ago |
Max Wenzel
|
61cd9ad08a
|
add findShip()
|
3 years ago |
Max Wenzel
|
bf1f6b2ac3
|
Refactoring: getEverySecondField() doesn't need param matchfield anymore
|
3 years ago |
Max Wenzel
|
2ace6f42a9
|
Refactoring: chooseField() doesn't need param matchfield anymore
|
3 years ago |
Max Wenzel
|
ba00efe5e2
|
Refactoring: setLastShot() doesn't need param matchfield anymore
|
3 years ago |
Max Wenzel
|
bc2e79b7a3
|
add Matchfield variable with Getter/Setter in ai-logic
|
3 years ago |
Max Wenzel
|
6a00b0bad3
|
add lastShot with Getter/Setter in ai-logic
|
3 years ago |
Max Wenzel
|
25d399e1a6
|
Refactoring testEverySecondField (override Equals of Coordinate)
|
3 years ago |
Max Wenzel
|
f3beee8e45
|
add getEverySecondField in ai-logic
|
3 years ago |
Max Wenzel
|
d847e33ef5
|
Refact6oring: ai-logicTest restructured
|
3 years ago |
Max Wenzel
|
66e3394f09
|
add getBelow() in Matchfield - case: nothingBelow
|
3 years ago |
Max Wenzel
|
7a43204fdd
|
add getBelow() in Matchfield - DefaultCase
|
3 years ago |
Max Wenzel
|
7c67747398
|
add getAbove() in Matchfield - Case: nothingAbove
|
3 years ago |
Max Wenzel
|
304b3c943e
|
add getAbove() in Matchfield - DefaultCase
|
3 years ago |
Max Wenzel
|
2603cb9f83
|
Fix: Above = Right and Below = Left
|
3 years ago |
Max Wenzel
|
bdb4c30cdb
|
add getAbove() in Matchfield - Case: nothingBelow
|
3 years ago |
Max Wenzel
|
ac41493feb
|
add getBelow() in Matchfield - DefaultCase
|
3 years ago |
Max Wenzel
|
d703a7b1c6
|
add getAbove() in Matchfield - Case: nothingAbove
|
3 years ago |
Max Wenzel
|
958fcf7166
|
add getAbove() in Matchfield - DefaultCase
|
3 years ago |
Max Wenzel
|
0106ea2577
|
Refactoring: Use ParameterizedTest in CoordinateTest
|
3 years ago |
Max Wenzel
|
78e804dff9
|
Refactoring: Implements Coordinate into ai-logic
|
3 years ago |
Max Wenzel
|
f8a8179650
|
Refactoring: Implements Coordinate into Matchfield
|
3 years ago |
Max Wenzel
|
10c4518ed0
|
add setState
|
3 years ago |
Max Wenzel
|
295ecd2bb1
|
add DeafaultState(EMPTY) to Coordinate
|
3 years ago |
Max Wenzel
|
b696244000
|
Coodrdinates returns correct Values for X and Y
|
3 years ago |
Max Wenzel
|
1a2bd51394
|
choosenField returns only Fields with state != shot
|
3 years ago |
Tobias Krause
|
0559513f69
|
player_management: login loads existing player from file or creates new player
|
3 years ago |
Tobias Krause
|
6e61c04240
|
player_management: added layout for LoginPanel
|
3 years ago |
Tobias Krause
|
75ca5e7f47
|
player_management: added LoginPanel to gameexplorer
|
3 years ago |
Tobias Krause
|
a0039979c2
|
player_management: selectPlayer adds new players to player-list
|
3 years ago |
Tobias Krause
|
631fb4c698
|
player_management: savePlayers writes player list to file
|
3 years ago |