Minimax to Tic Tac Toe