Skip to content

Commit

Permalink
display team names
Browse files Browse the repository at this point in the history
  • Loading branch information
vpoulailleau committed Apr 12, 2024
1 parent da7b557 commit bddd28d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion space_collector/game/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ def _wait_connections(self: "GameServer") -> None:
sleep(1)

for second in range(1, server_connection_timeout + 1):
print(f"Waiting other players ({second}/{server_connection_timeout})")
names = [player.name for player in self.players]
print(
f"Waiting other players ({second}/{server_connection_timeout}) {names}"
)
if len(self.players) == MAX_NB_PLAYERS:
break
sleep(1)
Expand Down

0 comments on commit bddd28d

Please sign in to comment.