MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / _player_model

Function _player_model

codeclash/replay/__init__.py:87–93  ·  view source on GitHub ↗

Extract a display model name from a player config (mirrors the viewer).

(player: dict)

Source from the content-addressed store, hash-verified

85 from codeclash.arenas.halite2.replay import Halite2Replayer
86
87 return Halite2Replayer()
88 if arena == "Halite3":
89 from codeclash.arenas.halite3.replay import Halite3Replayer
90
91 return Halite3Replayer()
92 if arena == "Bomberland":
93 from codeclash.arenas.bomberland.replay import BomberlandReplayer
94
95 return BomberlandReplayer()
96 if arena == "Bridge":

Callers 1

load_tournamentFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected