changes to minimax
changes ti minimax