Example #1
0
 def battle(self):
     battle = Battle(self.ph, self.eh)
     bres = battle.battleLoop()
     if bres == 0:
         print("You died...")
         print("\n\n")
         self.printGameOver()
     elif bres == 1:
         print("You won!!!")
     elif bres == 2:
         print("You ran away...")
     else:
         print("Battle broken")
Example #2
0
 def battleTest(self):
     battle = Battle(self.ph, self.eh)
     battle.battleLoop()