import zombiedice zombies = ( zombiedice.examples.RandomCoinFlipZombie(name='Random'), zombiedice.examples.MonteCarloZombie(name='Monte Carlo', riskiness=45, numExperiments=20), zombiedice.examples.MinNumShotgunsThenStopsZombie(name='Min 2 Shotguns', minShotguns=2) # Add any other zombie players here. ) # Uncomment one of the following lines to run in CLI or Web GUI mode: zombiedice.runTournament(zombies=zombies, numGames=1000) #zombiedice.runWebGui(zombies=zombies, numGames=1000)
def run(self): zombiedice.runTournament(BOTS, TOTAL_NUM_GAMES)