public interface CS15TicTacToeGame
| Modifier and Type | Method and Description |
|---|---|
void |
invalidSquareChosen(int row,
int col)
Called when a user clicks a square of the
tic tac toe board that has already been taken (i.e., there is
already a player icon in the square).
|
void |
noWinner()
Called when the entire board is filled but no player has won.
|
void |
playerWins()
Called when one player has won the game by choosing three squares
in a row.
|
void |
restartGame()
Called when the "restart" button is pressed.
|
void invalidSquareChosen(int row,
int col)
row - row of the square selectedcol - column of the square selectedvoid noWinner()
void playerWins()
void restartGame()