minimaxed tic-tac-toe