I am trying to make a minimax algorithm for chess using python the input for the function is : minimax(3 , True) this is the function: