def minimax(BTree):
alpha = mini
beta = maxi
userValue = max_value(BTree,alpha,beta)
return userValue
userValue = minimax(tree)
print("The Optimal value of the MiniMax Algorithm : "+ str(userValue))
print("\n The output Path is :")
print(path(tree,userValue))
out = alphabeta(tree)
print("The Optimal value of the Alpha beta pruning Algorithm : "+ str(out))
TypeError: max_value() missing 2 required positional arguments: 'alpha' and 'beta'
Users browsing this thread: 1 Guest(s)
