TicTacToe simulation