要打败的Random agent 0
加入
8 行 · 538 Bytes 原始文件 永久链接 历史
1"""The games, served over ARC-AGI-3's own REST API by the official toolkit in offline mode: the bot plays them through
2the toolkit exactly as it would play arcprize.org, but never sees a game's source. Every step is recorded.
3 python3 referee/serve.py <environment_files> <recordings> <port>
4"""
5import sys
6from arc_agi import Arcade, OperationMode
7
8Arcade(operation_mode=OperationMode.OFFLINE, environments_dir=sys.argv[1], recordings_dir=sys.argv[2]).listen_and_serve(host='127.0.0.1', port=int(sys.argv[3]), save_all_recordings=True)