Commits

dr...@bach  committed df9823c

debug

  • Participants
  • Parent commits b683eee
  • Branches hexbattle

Comments (0)

Files changed (1)

File fungus_hexbattle.py

         self.chars_by_initiative.sort()
 
         # pass the control to the AI
-        if self.num_goblins <= 0 and self.num_rats <= 0: 
+        if True or self.num_goblins <= 0 and self.num_rats <= 0: 
             self.state["player"] = "CPU"
         
 
         if self.state["player"] == "setup":
             self.setup_step()
         elif self.state["player"] == "CPU":
-            print 1
             self.computer_turn()
         sleep(0.01)