MCPcopy Create free account
hub / github.com/battlecode/battlecode-2018 / run_game

Function run_game

battlecode-manager/gui.py:190–196  ·  view source on GitHub ↗
(return_args)

Source from the content-addressed store, hash-verified

188
189@eel.expose
190def run_game(return_args):
191 if not lock.acquire(blocking=False):
192 return "Fail"
193
194 t1 = threading.Thread(target=start_game,args=(return_args,))
195 t1.start()
196 return "success"
197
198@eel.expose
199def get_maps():

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected