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 |
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 |
Lorenz Hohmann
|
1ca75e2abd
|
Created gui with minimal elements
|
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 |
Lorenz Hohmann
|
7f53ab77af
|
Added nextMove() function to check wheter the player or AI has move
|
3 years ago |
Lorenz Hohmann
|
a976a43742
|
Added GameManager and check if GameState is correct after start function call
|
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 |
Tobias Krause
|
5fd5a78f66
|
gameexplorer: added navigation panel + refactoring
|
3 years ago |
Tobias Krause
|
a6c9602298
|
gameexplorer: added gui layout
|
3 years ago |
Tobias Krause
|
5336d51a95
|
gameexplorer: added gui
|
3 years ago |
Tobias Krause
|
c6cf15ea28
|
gameexplorer: points cant be less than zero
|
3 years ago |
Tobias Krause
|
24c90943f9
|
gameexplorer: addPoints() increases / decreases points of player
|
3 years ago |