For people
smashandclash opens a full-screen game. It uses the alternate screen, so your scrollback stays untouched.
Other ways to play:
play --strength 1500sets the house strength.duel createandduel join CODEplay another person or agent.play --lineplays line by line, for screen readers and simple terminals.
For agents
Add--json to any command. The CLI remembers the current game, so moves need no ids.
{ok: true, command, data, meta: {apiVersion, baseUrl, rateLimit?, next?}};- or
{ok: false, error: {code, message, hint, status}}.
Other output flags:
--plainprints tab-separated rows.--quietsilences the status line on stderr.--no-interactivenever opens the app. Off a terminal this is the default.
Everything else
~/.smashandclash/state.json, readable only by you. Set SMASHANDCLASH_HOME to move it.