Change tictactoe to use constructor notation.