Malte Schellhardt
|
1c687f496f
|
tictactoe: added method to get current player
|
2 years ago |
Malte Schellhardt
|
0b3e24bb55
|
tictactoe: refactored gui playfields and related test cases
|
2 years ago |
Malte Schellhardt
|
5aa5d1a1fd
|
tictactoe: added test case to check field clicked state in gui
|
2 years ago |
Malte Schellhardt
|
82890b25aa
|
tictactoe: refactored generateGUI method
|
2 years ago |
Malte Schellhardt
|
d6ce3f3efa
|
tictactoe: number of fields added to the gui
|
2 years ago |
Malte Schellhardt
|
435c51f3d7
|
tictactoe: added generateGUI method
|
2 years ago |
Malte Schellhardt
|
c85bc7918d
|
tictactoe: refactored productive code
|
2 years ago |
Malte Schellhardt
|
3936ada743
|
tictactoe: added test case to check end of game with win for player 2
|
2 years ago |
Malte Schellhardt
|
ef0aac9383
|
tictactoe: added test case to check end of game with win for player 1
|
2 years ago |
Malte Schellhardt
|
2cb34b28d9
|
tictactoe: added test case to check end of game with empty board
|
2 years ago |
Malte Schellhardt
|
864906fb98
|
tictactoe: refactoring: formatted code and removed unused lines
|
2 years ago |
Malte Schellhardt
|
94a38ff70e
|
tictactoe: added test case to check diagonal right win for player 2
|
2 years ago |
Malte Schellhardt
|
85f79d14bc
|
tictactoe: added test case to check diagonal left win for player 1
|
2 years ago |
Malte Schellhardt
|
eec2f540a5
|
tictactoe: added test case to check if player 1 has won in row 0 with full board
|
2 years ago |
Malte Schellhardt
|
cdb23b1d6a
|
tictactoe: added test case to check if player 2 has won in column 2 with full board
|
2 years ago |
Malte Schellhardt
|
8e9f622172
|
tictactoe: added test case to check if player 1 has won in column 0 with full board
|
2 years ago |
Malte Schellhardt
|
3e99d48ff0
|
tictactoe: added test case to check if player 1 has won in column 1
|
2 years ago |
Malte Schellhardt
|
f81871b180
|
tictactoe: fixed previous checkForWin test cases
|
2 years ago |
Malte Schellhardt
|
5c7908c23f
|
tictactoe: added test case to check if player 2 has won in row 0
|
2 years ago |
Malte Schellhardt
|
26768bf8f3
|
tictactoe: added checkForWin for special player and checking all columns
|
2 years ago |
Malte Schellhardt
|
25c39d107c
|
tictactoe: added checkForWin method
|
2 years ago |
Malte Schellhardt
|
56da63b0e6
|
tictactoe: added test case for trying to set a field again
|
2 years ago |
Malte Schellhardt
|
85e8867e06
|
tictactoe: refactored fieldIsEmpty method
|
2 years ago |
Malte Schellhardt
|
58f7647ce8
|
tictactoe: added test cases for fieldIsEmpty method and created constructor with gameboard as parameter
|
2 years ago |
Malte Schellhardt
|
cc16fd3389
|
tictactoe: added method to check if field is not set
|
2 years ago |
Malte Schellhardt
|
8b31b76e69
|
tictactoe: added test case for player 2 in playfield setter
|
2 years ago |
Malte Schellhardt
|
972fcd97a6
|
tictactoe: added setter for playfield and changed internal board datatype to char
|
2 years ago |
Malte Schellhardt
|
4e425ff54b
|
tictactoe: added restriction for board sizes below three
|
2 years ago |
Malte Schellhardt
|
edbbefc7ff
|
tictactoe: fixed fieldCountTest. Now works with different playfield sizes
|
2 years ago |
Malte Schellhardt
|
60ec15241b
|
tictactoe: refactored board management and added constructor to handle different playfield sizes
|
2 years ago |
Malte Schellhardt
|
068bed8357
|
tictactoe: added method to count playing fields
|
2 years ago |
Malte Schellhardt
|
d6b0153491
|
tictactoe: added getter for game board
|
2 years ago |
Malte Schellhardt
|
4e743e694e
|
tictactoe: added class for gamelogic
|
2 years ago |