This commit is contained in:
2025-11-27 15:15:57 +05:30
parent 7bcdc76594
commit 37c090cf64

View File

@@ -54,7 +54,7 @@ async def simulate_matchmaking(num_players: int = 6):
elif p not in matches[p.match_id]:
matches[p.match_id].append(p)
# print(f'player = {p.label} for match = {p.match_id}')
print(f'players = {len(matches[p.match_id])} for match = {p.match_id}')
# print(f'players = {len(matches[p.match_id])} for match = {p.match_id}')
# stop early if all assigned
if sum(len(v) for v in matches.values()) >= num_players: