Compare commits

..

2 Commits

  1. 3
      games/balancep0ng.py

3
games/balancep0ng.py

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

Loading…
Cancel
Save