Malte Schellhardt
|
5aa5d1a1fd
|
tictactoe: added test case to check field clicked state in gui
|
3 years ago |
Malte Schellhardt
|
82890b25aa
|
tictactoe: refactored generateGUI method
|
3 years ago |
Malte Schellhardt
|
0d60a2a9f4
|
tictactoe: added ShowGUI class for testing new gui
|
3 years ago |
Malte Schellhardt
|
d6ce3f3efa
|
tictactoe: number of fields added to the gui
|
3 years ago |
Malte Schellhardt
|
435c51f3d7
|
tictactoe: added generateGUI method
|
3 years ago |
Malte Schellhardt
|
c85bc7918d
|
tictactoe: refactored productive code
|
3 years ago |
Malte Schellhardt
|
d1d0aa119d
|
tictactoe: added test case to check not yed finished game
|
3 years ago |
Malte Schellhardt
|
52622fa990
|
tictactoe: added test case to check tied game
|
3 years ago |
Malte Schellhardt
|
3936ada743
|
tictactoe: added test case to check end of game with win for player 2
|
3 years ago |
Malte Schellhardt
|
ef0aac9383
|
tictactoe: added test case to check end of game with win for player 1
|
3 years ago |
Malte Schellhardt
|
2cb34b28d9
|
tictactoe: added test case to check end of game with empty board
|
3 years ago |
Malte Schellhardt
|
864906fb98
|
tictactoe: refactoring: formatted code and removed unused lines
|
3 years ago |
Malte Schellhardt
|
94a38ff70e
|
tictactoe: added test case to check diagonal right win for player 2
|
3 years ago |
Malte Schellhardt
|
85f79d14bc
|
tictactoe: added test case to check diagonal left win for player 1
|
3 years ago |
Malte Schellhardt
|
64b3f88e93
|
tictactoe: refactored test case and added cases to check draw
|
3 years ago |
Malte Schellhardt
|
28796e3c16
|
tictactoe: added test case to check if player 2 has won in row 2 with full board
|
3 years ago |
Malte Schellhardt
|
69d7d9c924
|
tictactoe: added test case to check if player 1 has won in row 1 with full board
|
3 years ago |
Malte Schellhardt
|
eec2f540a5
|
tictactoe: added test case to check if player 1 has won in row 0 with full board
|
3 years ago |
Malte Schellhardt
|
cdb23b1d6a
|
tictactoe: added test case to check if player 2 has won in column 2 with full board
|
3 years ago |
Malte Schellhardt
|
3ac4c2f22a
|
tictactoe: added test case to check if player 2 has won in column 1 with full board
|
3 years ago |
Malte Schellhardt
|
8e9f622172
|
tictactoe: added test case to check if player 1 has won in column 0 with full board
|
3 years ago |
Malte Schellhardt
|
84dcefef7c
|
tictactoe: added test case to check if player 1 has won in column 2
|
3 years ago |
Malte Schellhardt
|
3e99d48ff0
|
tictactoe: added test case to check if player 1 has won in column 1
|
3 years ago |
Malte Schellhardt
|
7bf8982378
|
tictactoe: added test case to check if player 2 has won in row 2
|
3 years ago |
Malte Schellhardt
|
00d129f9b8
|
tictactoe: added test case to check if player 2 has won in row 1
|
3 years ago |
Malte Schellhardt
|
f81871b180
|
tictactoe: fixed previous checkForWin test cases
|
3 years ago |
Malte Schellhardt
|
5c7908c23f
|
tictactoe: added test case to check if player 2 has won in row 0
|
3 years ago |
Malte Schellhardt
|
0d687f38e6
|
tictactoe: added test case for check win in row 0
|
3 years ago |
Malte Schellhardt
|
54097b5c02
|
tictactoe: refactored test cases for checkForWin method
|
3 years ago |
Malte Schellhardt
|
26768bf8f3
|
tictactoe: added checkForWin for special player and checking all columns
|
3 years ago |
Malte Schellhardt
|
1ad993e109
|
tictactoe: added test case for checkForWin method
|
3 years ago |
Malte Schellhardt
|
25c39d107c
|
tictactoe: added checkForWin method
|
3 years ago |
Malte Schellhardt
|
aad95ece07
|
tictactoe: added test case for new parameterized constructor
|
3 years ago |
Malte Schellhardt
|
56da63b0e6
|
tictactoe: added test case for trying to set a field again
|
3 years ago |
Malte Schellhardt
|
85e8867e06
|
tictactoe: refactored fieldIsEmpty method
|
3 years ago |
Malte Schellhardt
|
58f7647ce8
|
tictactoe: added test cases for fieldIsEmpty method and created constructor with gameboard as parameter
|
3 years ago |
Malte Schellhardt
|
cc16fd3389
|
tictactoe: added method to check if field is not set
|
3 years ago |
Malte Schellhardt
|
46b1605e31
|
tictactoe: refactored test code to use one game instance object for all test cases
|
3 years ago |
Malte Schellhardt
|
8b31b76e69
|
tictactoe: added test case for player 2 in playfield setter
|
3 years ago |
Tobias Krause
|
332a74df86
|
tictactoe: bugfix: if row and col with same number each contain two chars of same player, col isnt ignored anymore
|
3 years ago |
Tobias Krause
|
e305236728
|
tictactoe: hard ai sets first empy field if theres no better option
|
3 years ago |
Tobias Krause
|
412558578c
|
tictactoe: hard ai sets always in the nearest edge to opponents field
|
3 years ago |
Tobias Krause
|
f44e9e6eb2
|
tictactoe: hard ai sets always in the nearest edge to opponents field
|
3 years ago |
Tobias Krause
|
9111545ec3
|
tictactoe: hard ai checks for own opportunity to win first
|
3 years ago |
Tobias Krause
|
c0310d8ed6
|
tictactoe: hard ai uses chance to win in diagonal
|
3 years ago |
Tobias Krause
|
7f1b801c93
|
tictactoe: hard ai uses chance to win in cols
|
3 years ago |
Tobias Krause
|
360870072e
|
tictactoe: hard ai uses chance to win in row
|
3 years ago |
Tobias Krause
|
b29b7ee9d7
|
tictactoe: hard AI prevents opponents win in diagonal
|
3 years ago |
Tobias Krause
|
7115050d60
|
tictactoe: hard AI prevents opponents win in col
|
3 years ago |
Tobias Krause
|
c6e0d83d70
|
tictactoe: hard AI prevents opponents win in row
|
3 years ago |