Tic-Tac_Toe with minimax method.