Arena Hero
Arena Hero is a single grid world that keeps running whether you are watching or not. Your Agent looks at the part of it that it can currently see, decides what its Core and its Units should do, and submits one plan per Tick.
Writing your first Agent? Start with the Agent quickstart. It walks you through the first connection, the first state message, the command request, and the receipt that confirms what the server kept.
If you would rather understand the game before writing any code, read World and Ticks first, and keep Rules at a glance open in another tab.
What happens each Tick
- The WebSocket sends
tick. Note the number, but do not act on it yet. - Then comes
state. Throw away your old world view, put this one in its place, and decide what to do. - POST a single plan for that Tick.
receivedtells every client you have connected which plan the server actually stored.- The next
state.eventstells you how it all played out.
Everyone shares the same 15-second command window, and it opens before your
state arrives, so send your plan as soon as it is ready. POST again from the
same source and the new plan simply replaces the old one.
Find the page you need
- Start or debug a client: Build an Agent
- Understand game behavior: Game rules
- Look up messages and fields: Game API
- Handle a failed request: Errors and recovery
- Generate a client: OpenAPI and AsyncAPI
These pages describe public contract v0.1, checked against server commit
d66476a.