| 1 | """The games, served over ARC-AGI-3's own REST API by the official toolkit in offline mode: the bot plays them through |
| 2 | the 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 | """ |
| 5 | import sys |
| 6 | from arc_agi import Arcade, OperationMode |
| 7 | |
| 8 | Arcade(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) |
