misc testing setup

This commit is contained in:
Sakimori 2024-08-15 15:16:08 -04:00
parent 6f41a1215e
commit 2f0f1d173e
2 changed files with 17 additions and 13 deletions

View file

@ -22,8 +22,12 @@ if __name__ == "__main__":
# print(atr) # print(atr)
# print("----------") # print("----------")
#g = TestGame() g = TestGame()
#g.faceoffTest() while not g.Game.gameOver:
g.Game.event()
log = g.Game.eventLogOut()
for line in log:
print(line)
cookie = auzh() cookie = auzh()

View file

@ -93,16 +93,16 @@ class TestGame(object):
def __init__(self): def __init__(self):
awayRoster = [ awayRoster = [
player.Player("Laika", 93), player.Player("April", 69),
player.Player("Vivi", 16), player.Player("Abyss", 16),
player.Player("Jorts", 75), player.Player("chloe!!", 20),
player.Player("Yuki", 23), player.Player("Byte", 8),
player.Player("Konecny", 96), player.Player("Myno", 18),
player.Player("Laika", 93), player.Player("April", 69),
player.Player("Vivi", 16), player.Player("Abyss", 16),
player.Player("Jorts", 75), player.Player("chloe!!", 20),
player.Player("Yuki", 23), player.Player("Byte", 8),
player.Player("Konecny", 11) player.Player("Myno", 18),
] ]
homeRoster = [ homeRoster = [
player.Player("Landeskog", 92), player.Player("Landeskog", 92),
@ -118,7 +118,7 @@ class TestGame(object):
] ]
aTeam = team.Team(awayRoster, [player.Player('Artemis', 17)], "Vail Powder", "PDR") aTeam = team.Team(awayRoster, [player.Player('Artemis', 17)], "Cohost Eggbugs", "EGG")
hTeam = team.Team(homeRoster, [player.Player('Kuemper', 35)], "Colorado Avalanche", "COL") hTeam = team.Team(homeRoster, [player.Player('Kuemper', 35)], "Colorado Avalanche", "COL")
self.Game = game.Game(aTeam, hTeam) self.Game = game.Game(aTeam, hTeam)