multiagent systems range(len(self dist_history))]color=' '#plt legend(plt savefig('soccerplot pdf'plt show(the following are some games from poole and mackworth [ maslearn py -(continued class shoppinggame(displayable)def __init__(self)self num_agents self actions [['shopping''football']]* self players ['football preferer goes to''shopping preferer goes to' def play(selfactions)return {('football''football')( , )('football''shopping')( , )('shopping''football')( , )('shopping''shopping')( , )}[actions class soccergame(displayable)def __init__(self)self num_agents self actions [['right''left']]* self players ['goalkeeper jumps''kicker kicks' def play(selfactions)return {('left''left')( )('left''right')( )('right''left')( )('right''right')( , }[actions class gameshow(displayable)def __init__(self)self num_agents self actions [['takes''gives']]* self players ['agent ''agent ' def play(selfactions)return {('takes''takes')( )('takes''gives')( )('gives''takes')( )('gives''gives')( , }[actions class uniquenegameexample(displayable)version june