tictactoe: trying to fix glitches in minimax alg