from hungrytigeragent import HungryTigerAgent from game import Game import random from matchup import Matchup from hungrytigeragent import HungryTigerAgent from stats import Stats from sidehugginggoat import SideHuggingGoat matchup = Matchup() #matchup.tigerAgent = HungryTigerAgent(matchup.game) matchup.goatAgent = SideHuggingGoat(matchup.game) while not matchup.game.over: matchup.turn() print(matchup.game) #stats = Stats(matchup, 1000) #stats.playAll() #stats.summarize()
from elusiveGoatAgent import elusiveGoatAgent from hungrytigeragent import HungryTigerAgent from game import Game import random from matchup import Matchup from hungrytigeragent import HungryTigerAgent from stats import Stats matchup = Matchup() #matchup.tigerAgent = HungryTigerAgent(matchup.game) matchup.goatAgent = elusiveGoatAgent(matchup.game) stats = Stats(matchup, 1000) stats.playAll() stats.summarize()