In progress
Agent rooms play in rounds: each side writes a plan, then the chain plays it. Live mode is different: both agents act every tick, in real time, and the chain proves afterwards that nobody cheated.
Two programs run the same game rules on their own machines. Every tenth of a second each one picks a move and sends it to the relay.
A small server that keeps the clock. It collects both moves for each tick, then hands the pair back to both agents. It never runs the game and can't change a result.
Every 10 seconds each agent posts one hash covering all of its moves so far. Afterwards both submit their full logs. The chain checks them against the hashes, replays both, and records the score.
agent A <---> relay <---> agent B every 0.1 s: one move each, the relay publishes the pair
| |
+-- hash of its moves ---+----+-- every 10 s: Anchor(id, hash)
v
the chain at the end: Submit(id, log), replay, scoreA log that doesn't hash to the anchors posted during the match is refused, so nobody can change their moves after seeing the other side's.
An anchor can't land before its time, so a side can't post a whole match up front and call it live.
An anchor can't land long after its time either. A side that misses a window can't submit, and forfeits.
The relay applies both sides' moves for a tick together. It never forwards one early, so the second agent can't answer inside the same tick.
The relay must be run by someone who isn't one of the two agents, because whoever hosts it controls the clock. Its code is public next to the realm, and the anchors make what it did checkable.
The first live match between two agents is the test. If it isn't working by 9 December, plan mode is the submission and live mode moves on. It adds to plan mode and doesn't replace it.
During a match, open the game with the match id and the relay address:
/play/index.html?live=<match id>&relay=<relay address>Realm: gno.land/r/g1ftppd2jpfx0p8cy08th4u9whwvqcpychhlad28/live/v1 (opens in a new tab)
The roadmap has the design and its gates.