The rules
These are the rules of a season, written for someone building a bot. Numbers called starting values are settings. The checkpoints are fixed for the whole season and can change only between seasons. The limits called starting values, and the order of the queue, are different: the operator can change them at any time.
What is measured
- The game is Slay the Spire at Ascension 20, standard mode.
- A win is killing the Heart. Beating the act-3 boss without the keys is a loss.
- There are four boards, one per character: Ironclad, Silent, Defect and Watcher.
- The score is the share of games your bot wins.
Practice and scored
- Every game is either practice or scored. Your bot says which in the
kindfield of eachstartmessage. - One API key serves both. Switching is that one field.
- Practice never counts. A practice game is never on a scored board, and its result does not touch your entry.
- You can practise with any number of agent versions, within the limits below.
The week
- A season is one week. It opens Monday 00:00 UTC.
- From Sunday 23:00 UTC no new game starts, scored or practice: a
startis refused, and the refusal says why. - Games already in flight at that hour can be played on until the season closes, and they count. The season closes when the week ends, at Monday 00:00 UTC.
- Each week's game seeds come from one hidden value. Its fingerprint (SHA-256) is on the site from that season's first minute, and the value itself is published when the week closes, so anyone can check afterwards that the seeds were fixed in advance. The next season opens with a new one.
- Old seasons stay on the site with their seed proof, and every past week's board stays browsable.
- An all-time board per character pools each account's scored games over every week that was not voided: one row per account.
- An account keeps the same bot name, the same GitHub login beside it and the same API key from week to week.
- The game's random streams are keyed and separated by role, so one visible roll predicts no hidden one. A bot that learned to exploit the unmodified game's RNG correlations gains nothing here.
One scored entry per character per week
- You get one scored entry per character in each season.
- The entry exists from its first scored
start. It cannot be restarted. - Every game your bot starts ends in the table. There is no second try at a game.
How long a scored run is
The server decides how many games your entry plays. Your bot never does.
- This season has checkpoints at 500, 1,000, 3,000 and 10,000 games.
- A checkpoint at N is complete when games 1 to N have all ended. A losing game cannot be held back past the cut.
- At each checkpoint your entry is compared with the leader for that character: the entry ranked first among those that have completed at least one checkpoint. Both win rates get a 99.9 % Wilson interval. This strict interval is used for this decision only.
- If the season has no leader yet for the character, last season's leader is used. In the very first season the first entry is never stopped.
One of three things then happens, and the server tells your bot which in a message:
- You are stopped early. The top of your interval is below the bottom of the leader's.
Your entry is scored at this checkpoint, and further scored
starts are refused. - Your run is ended because time ran out. At your pace so far (games ended per hour since
your first scored
start) the next checkpoint cannot be reached before new games stop on Sunday. Your entry is scored at this checkpoint, and further scoredstarts are refused. - You continue. Your entry is committed to the next checkpoint. Any of those games you have not played when the season closes count as losses.
An entry the server ended at a checkpoint is scored at that checkpoint. An entry told to continue that the season closes on is scored at the checkpoint it was heading for, with its unplayed games as losses, and its status is ended (time): it ended because time ran out. Walking away after a lucky start never helps.
An entry is complete only when all 10,000 games were played. An entry with fewer than 500 games is listed as incomplete and is not ranked.
Ranking
- The board shows each entry's wins, games and a 95 % Wilson interval of its Heart win rate.
- Rank is by the lower end of that interval. The same win rate held over more games ranks higher.
- The board shows every entry, not an owner's best, with its status: running, stopped early, ended (time), complete, incomplete or voided.
Limits
Three limits are starting values, and the operator can change these limits at any time:
- You can have 4 games at once in practice, per owner.
- You can have 4 games at once in scored, per owner.
- You can start 200 practice games a day, per owner. A practice
startbeyond the daily limit is refused with a message; the count resets at 00:00 UTC.
A start over a games-at-once limit, or when the server is full, waits in a queue. Today
scored games are served before practice games, and among scored games owners take turns, so no
owner can fill the server. The order of the queue is an operator setting, not a fixed rule.
These rules are fixed:
- There is no move deadline and no time budget for a game. Your bot can take as long as it likes over any decision.
- A game ends in one of four ways only: it is played to its end, it reaches the limit on illegal answers, the server fails, or the season closes.
- A game your bot leaves idle is parked by the server and resumes when your bot answers. Being parked is never a loss. If your bot disconnects, it may connect again and carry on.
- A parked game is still one of your games at once.
- A scored game your entry is committed to that is unfinished when the season closes is a loss, like any other committed game you have not played.
- An illegal answer (not in the list of legal actions, out of date, or malformed) gets an error and the decision stays open. After 8 illegal answers in one game, the game is a loss.
- If the server itself fails in a game, that game is not scored and is replaced by your entry's next game.
What you are told and when
- When a game starts: the SHA-256 of its episode key, before the game boots.
- When a game ends: its episode key.
- At a checkpoint: which of the three outcomes applies to your entry.
- While the season is open, transcripts are private, so nobody can copy a leader's play.
- When the season closes: the hidden value behind the season's seeds (its seed proof), and every scored transcript. Anyone can then replay any scored game, yours included. Practice transcripts are never public and are deleted after 7 days.
What the operator can do
The operator can do three things, each recorded with a reason:
- Void an entry. It stays listed, marked voided, and is not ranked.
- Void a season. A server fault that made its boards wrong is one reason, not the only one. When a season is voided for such a fault, the next week is practice-only until a practice season runs without a fault. In a voided season no entry holds a rank; the board stays listed, marked voided.
- Ban an owner. That owner's key stops working, and every entry of theirs, in every week, stays listed marked "account banned", holds no rank and is left out of the all-time board.
No result is ever edited. There is no way to do it. Once a season has closed its results are final: no entry, game or count is added or changed afterwards; an entry can still be voided and an owner banned. A void is never undone.