(owner: int)
| 74 | engine_names = d.get("player_names", []) |
| 75 | |
| 76 | def name_for(owner: int) -> str: |
| 77 | if players and len(players) > owner: |
| 78 | return players[owner]["name"] |
| 79 | if len(engine_names) > owner: |
| 80 | return engine_names[owner] |
| 81 | return f"Player {owner}" |
| 82 | |
| 83 | static_planets = [ |
| 84 | {"id": p["id"], "x": round(p["x"], 2), "y": round(p["y"], 2), "r": round(p["r"], 2)} |
nothing calls this directly
no outgoing calls
no test coverage detected