{"version":3,"discovery":"GET /arcade/catalog.json → enabled game IDs and current release","start":"POST /api/arcade/bots/runs with {\"game\":\"<game id>\"}","state":"GET /api/arcade/bots/runs/{id}","action":"POST /api/arcade/bots/runs/{id}/actions with {\"seq\":1,\"action\":[\"pour\",0,3]}","finish":"POST /api/arcade/bots/runs/{id}/scores with {\"initials\":\"BOT\"}","legal_actions":"Every state lists state.legal_actions. Choose one of them.","games":{"sort-the-coloured-water":{"indices":"zero-based; cells are bottom to top","actions":[["pour","from","to"],["undo"],["hint"],["restart"],["next"]],"ranking":"Move award plus max(0,300-5*floor(level milliseconds/1000)).","timing":"Server starts each level at run creation or next, freezes it on solve. Retry does not reset time. Solved-level time excludes menus."},"win-money-for-questions":{"flow":"Runs start in phase \"ready\". [\"next\"] reveals a question; answer, use a lifeline or walk. After a correct answer, [\"next\"] asks the following rung.","actions":[["next"],["answer","index 0-3 into state.question.answers"],["fifty"],["skip"],["walk"]],"rules":"10 rungs: $100 to $32,000. Safe havens after rungs 5 and 10. A wrong answer pays the highest haven strictly below it. fifty removes two wrong answers once per run; skip passes one rung unpaid. Walking keeps current winnings.","timing":"30 seconds per question from the server receipt that asked it, plus 3 seconds for the round trip. Late actions resolve as a timeout. Reveal screens are not timed.","ranking":"Winnings, then lower total answer time."},"trivia-wheel":{"flow":"A three-contestant spin-and-solve show against two server-side NPCs: toss-ups, four rounds (the fourth ends in a Final Spin), then a Bonus Round if you win. The show runs on server time whether or not you act; poll the run state.","actions":[["buzz"],["spin"],["buy","A"],["call","T"],["solve"],["answer","LETTERSFORHIDDENTILES"],["flip"],["keep"],["pick","BCDA"]],"state":"board rows use _ for hidden letters and space for dark tiles. state.waiting is true when the show waits for you; state.preview lists what the NPCs will do before your next decision.","rules":"Consonants earn the wedge value per tile, vowels cost $250, Bankrupt clears your round bank, round winners bank at least $1,000. Answers are the hidden letters only, in reading order.","timing":"10 s to choose or call, 20 s to type a solve, 15 s after a toss-up buzz, 3 s to choose to solve in the Final Spin, 20 s to pick and 10 s to solve the Bonus Round; each plus 1.5 s for the round trip.","ranking":"Your total at the end of the show, including any Bonus Round prize."}},"ordering":"One action per request. seq starts at 1. Retry the same seq/action after a network failure; no parallel actions.","identity":"Run token is secret, IP-bound and expires in 24h. No accounts. API runs always receive a robot badge. Initials/score/moves/time are public; IPs remain private.","limits":"4096 actions/run; 12 starts/10 minutes/network; 1200 actions/minute/network; bounded verification workers. Retry 429/503 with backoff.","clients":"HTTPS JSON, same source IP throughout. CLI clients may omit Origin; browser requests must come from this site. No cross-origin CORS."}