Added an AI function to the TicTacToe class and the game is now one player.