Compare commits

..

No commits in common. 'master' and 'balancep0ng-improve-player-joining' have entirely different histories.

  1. 3
      games/balancep0ng.py

3
games/balancep0ng.py

@ -91,8 +91,7 @@ class BalanceBoardPlayer(object): @@ -91,8 +91,7 @@ class BalanceBoardPlayer(object):
return true
def gametickcb(self):
# TODO: add CLI option to select axis
bal = self.__balance_util.get_raw_2dir_x()
bal = self.__balance_util.get_raw_2dir_y()
if bal == -128:
print("player %d has quit" % self.__balance_util.player_id)

Loading…
Cancel
Save