char2.name = "Herbert" action2 = Action(char2, hieb0, gladius) reaction2 = Action(char2, block0, gladius) arena = Arena() arena.addTeam("blue", [char1]) arena.addTeam("red", [char2]) print (arena.getCharacters()) # Create a Player for each character player1 = RandomPlayer("Player1", char1, arena, action1, reaction1) player2 = RandomPlayer("Player2", char2, arena, action2, reaction2) players = [player1, player2] points = [0,0] for round in range(100): # reset chars char1.reset() char2.reset() # Create a combat combat = Combat(arena, players) # fight till the death of one team combat.fightTillDefeat() points[0] += 1 if char1.isAlive() else 0 points[1] += 1 if char2.isAlive() else 0 print("%s VS %s => (%d : %d)"%(char1.name, char2.name, points[0], points[1]))