|
|
|
@ -145,8 +145,7 @@ class B4lancePong(object):
@@ -145,8 +145,7 @@ class B4lancePong(object):
|
|
|
|
|
balance_util_p1 = blup.balance_util.BalanceUtil(sock, 0) |
|
|
|
|
balance_util_p2 = blup.balance_util.BalanceUtil(sock, 1) |
|
|
|
|
while not balance_util_p1.get_player_ready(): |
|
|
|
|
print('waiting for player...') |
|
|
|
|
time.sleep(1) |
|
|
|
|
time.sleep(0.1) |
|
|
|
|
|
|
|
|
|
self.__players = [] |
|
|
|
|
self.__players.append(BalanceBoardPlayer(self.__playground, self.__playground.leftPaddle, balance_util_p1)) |
|
|
|
|