multiagent systems minimax here we consider two-player zero-sum games here player only wins when another player loses this can be modeled as where there is single utility which one agent (the maximizing agentis trying minimize and the other agent (the minimizing agentis trying to minimize creating two-player game masproblem py - multiagent problem from display import displayable class node(displayable)""" node in search tree it has name string ismax is true if it is maximizing nodeotherwise it is minimizing node children is the list of children value is what it evaluates to if it is leaf ""def __init__(selfnameismaxvaluechildren)self name name self ismax ismax self value value self allchildren children def isleaf(self)"""returns true of this is leaf node""return self allchildren is none