Tic-Tac-Toe simulator