Represents the Tic Tac Toe board. Modified version of LazoCoder's Tic-Tac-Toe Java Implementation, GPLv3 License.
Places an X or an O on the specified index depending on whose turn it is.
Places an X or an O on the specified location depending on who turn it is.
Places an X or an O on the specified location based on a parameter
Restart the game with a new blank board.
Get a copy of the array that represents the board.
Get the indexes of all the positions on the board that are empty.
Get a deep copy of the Tic Tac Toe board.
Check to see if the game is over (if there is a winner or a draw).
Check to see who's turn it is.
Check to see who won.