Added two functions to TicTacToe to implement for web