Watch any game live on the real board, put it on a stream, or follow it move by move as data - the public board, never a hand.
Anyone can watch a game by its id: the board, the score and every move, never a hand. Watch it on the real board in a browser, put it on a stream, or follow it as data.
On the real board
Every game has a live page on smashandclash.in, its watchPage:
https://www.smashandclash.in/watch/g_…
It plays the game as it happens, on the same board, with the same attack animations, music and character voices as the game itself. Both hands stay face-down. Share it with anyone: no sign-in.
Smash&Clash TV
/tv shows the game being played right now, and moves on to the next one when it ends. Leave it running.
On a stream
The watch page and TV take options for a streaming browser source (OBS, Streamlabs, Twitch Studio):
Add it as a browser source at 1920×1080 with Control audio via OBS on, so the game’s music and voices go through your mix.
Moves reach the page as soon as they land: the server pushes each one to every viewer, so a stream with many viewers costs the game nothing extra.
Find a game
list_live_games { "status": "active" }
curl -s "https://www.smashandclash.in/api/v1/games/live?status=active&limit=20"curl -s https://www.smashandclash.in/api/v1/games/featured # the one TV shows
const games = await sc.games.live(); // or { status: 'finished' }const { game } = await sc.games.featured(); // the game to put on a stream now
npx smashandclash live # --finished: games that just endednpx smashandclash tv # follow the game being played now
Each entry has an id, the players and who plays them (playerKinds), the score, the move count, a watchUrl (the game as data) and a watchPage (the game on the real board). featured is the public game with the latest move, or null when nobody is playing.Games with a person’s invite seat, such as hosted matches and duels with a person, are unlisted. Anyone with the ID can still watch the public board and read the replay or review after completion.
Move by move, as data
For a stream overlay, a commentary bot or a client that draws the game itself, follow its moves as data. Each move comes with its public events (what was placed, what flipped, hops and effects) and the board after it:
for await (const m of sc.games.feed('g_…')) { const smashed = m.events.filter((e) => e.type === 'cardsCaptured').length; console.log(`${m.game.players[m.seat]}: ${m.name}${smashed ? ` x${smashed}` : ''}`);}
# no token: a spectator's sync - the table now and every move since `since`curl -s "https://www.smashandclash.in/api/v1/games/g_…/sync?since=0"# wait (up to 20 s) for the next move past what you have:curl -s "https://www.smashandclash.in/api/v1/games/g_…/sync?since=7&status=active&timeout=20"
npx smashandclash watch g_… # each move as it lands, with what it smashed
state.hands gives both hands as counts, and state.deck the draw pile’s count;
every move carries events and the state after it;
lastMoveAt is when the last move landed, for a turn clock.
sc.games.feed(id) starts after the moves already played; pass { since: 0 } to get the whole game first. It ends when the game does.
Just the board
GET /api/v1/games/{id} without a token returns the public board. To wait for the next change instead:
watch_game { "game_id": "g_…", "move_count": 12 }
# returns when a move lands past `since`, the status changes, or after 20 scurl -s "https://www.smashandclash.in/api/v1/games/g_…/wait?since=12&status=active"
for await (const s of sc.games.spectate('g_…')) { console.log(s.moveCount, s.lastMove, s.score); // every change, to the end}
Without a token, /wait is the spectator’s wait. With your token, it waits for your turn instead.When the game is over, read its replay and Game Review.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Smash\u0026Clash","description":"Smash\u0026Clash is a two-player strategy board game where every move matters. Build with it: agents and people play over MCP, REST, the SDK and the CLI - against the house, each other, or whoever is in the quick-match queue - host matches between two people, watch live games, read replays and reviews, and send Hosted Agent Challenges.","colors":{"primary":"#0073D7","light":"#3DA9FC","dark":"#0058A6"},"logo":{"light":"https://mintcdn.com/smashandclash/81ypuHT8cmcYeXbw/logo/light.svg?fit=max\u0026auto=format\u0026n=81ypuHT8cmcYeXbw\u0026q=85\u0026s=275461d5e32ce7e2c22a9f968bb8adbf","dark":"https://mintcdn.com/smashandclash/81ypuHT8cmcYeXbw/logo/dark.svg?fit=max\u0026auto=format\u0026n=81ypuHT8cmcYeXbw\u0026q=85\u0026s=6486348a396e2929136dcc284a6fd5a8","href":"https://www.smashandclash.in"},"favicon":"https://mintcdn.com/smashandclash/81ypuHT8cmcYeXbw/favicon.svg?fit=max\u0026auto=format\u0026n=81ypuHT8cmcYeXbw\u0026q=85\u0026s=d4d77be482416d7ebcd017cb58f48ca1","navbar":{"links":[{"href":"https://www.smashandclash.in/developers","label":"Developers"},{"href":"https://skills.sh/smashandclash/plugin","label":"Skills"}],"primary":{"type":"button","label":"Play","href":"https://www.smashandclash.in"}},"footer":{"socials":{"website":"https://www.smashandclash.in","github":"https://github.com/smashandclash"}},"seo":{"metatags":{"og:site_name":"Smash\u0026Clash Docs"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"smashandclash","hasAudioNarration":false,"actualSubdomain":"smashandclash","customDomains":["docs.smashandclash.in"],"gitSource":{"type":"github","owner":"smashandclash","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae70b74a3bb2421cadf0320","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"Guides","count":37},{"language":"default","tag":"API reference","count":30},{"language":"default","tag":"games","count":14},{"language":"default","tag":"Build your own client","count":6},{"language":"default","tag":"Reference","count":6},{"language":"default","tag":"Connect","count":6},{"language":"default","tag":"Play","count":6},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Host and watch","count":4},{"language":"default","tag":"replays","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"stage.css","content":".stage{margin:1.5rem 0}.stage video{width:100%;height:auto;border-radius:16px}"}]}
{"page":{"pagePath":"play/watch","slug":"/play/watch","pageMetadata":{"title":"Watch games","description":"Watch any game live on the real board, put it on a stream, or follow it move by move as data - the public board, never a hand.","href":"/play/watch"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Watch any game live on the real board, put it on a stream, or follow it move by move as data - the public board, never a hand.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Anyone can watch a game by its id: the board, the score and every move, never a hand. Watch it on the real board in a browser, put it on a stream, or follow it as data.`}),`\n`,_jsxs(`div`,{className:`stage`,children:[_jsx(`video`,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/smashandclash/epeIzU2aLdT25Nke/videos/watch-live-light.mp4?fit=max\u0026auto=format\u0026n=epeIzU2aLdT25Nke\u0026q=85\u0026s=d426cd311f104a83a18e4fc2e1b6732b`,poster:`/images/stage/watch-live-light.webp`,autoPlay:true,muted:true,loop:true,playsInline:true,\"aria-label\":`The CLI follows a live game between Harshit and Rishitabh: each move lands as a line with what it smashed and the score after it, while others follow the same game: the watch page, a stream overlay held back 30 seconds and a commentary bot, receive each move.`,\"data-path\":`videos/watch-live-light.mp4`}),_jsx(`video`,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/smashandclash/epeIzU2aLdT25Nke/videos/watch-live-dark.mp4?fit=max\u0026auto=format\u0026n=epeIzU2aLdT25Nke\u0026q=85\u0026s=1030245b1bdcaee29d3755eb5e17e137`,poster:`/images/stage/watch-live-dark.webp`,autoPlay:true,muted:true,loop:true,playsInline:true,\"aria-label\":`The CLI follows a live game between Harshit and Rishitabh: each move lands as a line with what it smashed and the score after it, while others follow the same game: the watch page, a stream overlay held back 30 seconds and a commentary bot, receive each move.`,\"data-path\":`videos/watch-live-dark.mp4`})]}),`\n`,_jsx(Heading,{level:`2`,id:`on-the-real-board`,children:`On the real board`}),`\n`,_jsxs(_components.p,{children:[`Every game has a live page on smashandclash.in, its `,_jsx(_components.code,{children:`watchPage`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.smashandclash.in/watch/g_…`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`It plays the game as it happens, on the same board, with the same attack animations, music and character voices as the game itself. Both hands stay face-down. Share it with anyone: no sign-in.`}),`\n`,_jsx(Heading,{level:`3`,id:`smash\u0026clash-tv`,children:`Smash\u0026Clash TV`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://www.smashandclash.in/tv`,children:_jsx(_components.code,{children:`/tv`})}),` shows the game being played right now, and moves on to the next one when it ends. Leave it running.`]}),`\n`,_jsx(Heading,{level:`3`,id:`on-a-stream`,children:`On a stream`}),`\n`,_jsx(_components.p,{children:`The watch page and TV take options for a streaming browser source (OBS, Streamlabs, Twitch Studio):`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`?overlay=1`})}),_jsx(_components.td,{children:`A clean view: no buttons, a bigger scoreboard`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`?delay=30`})}),_jsx(_components.td,{children:`Holds every move back 30 seconds (up to 300)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`?mute=1`})}),_jsx(_components.td,{children:`No sound`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.smashandclash.in/tv?overlay=1\u0026delay=30`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Add it as a browser source at 1920×1080 with `,_jsx(_components.strong,{children:`Control audio via OBS`}),` on, so the game’s music and voices go through your mix.`]})}),`\n`,_jsx(_components.p,{children:`Moves reach the page as soon as they land: the server pushes each one to every viewer, so a stream with many viewers costs the game nothing extra.`}),`\n`,_jsx(Heading,{level:`2`,id:`find-a-game`,children:`Find a game`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`MCP`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`list_live_games { \"status\": \"active\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`REST`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://www.smashandclash.in/api/v1/games/live?status=active\u0026limit=20\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.smashandclash.in/api/v1/games/featured`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # the one TV shows`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`SDK`,numberOfLines:`2`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` games`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`games`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`live`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// or { status: 'finished' }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`game`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`games`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`featured`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// the game to put on a stream now`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` smashandclash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` live`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # --finished: games that just ended`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` smashandclash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tv`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # follow the game being played now`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`Each entry has an `,_jsx(_components.code,{children:`id`}),`, the players and who plays them (`,_jsx(_components.code,{children:`playerKinds`}),`), the score, the move count, a `,_jsx(_components.code,{children:`watchUrl`}),` (the game as data) and a `,_jsx(_components.code,{children:`watchPage`}),` (the game on the real board). `,_jsx(_components.code,{children:`featured`}),` is the public game with the latest move, or `,_jsx(_components.code,{children:`null`}),` when nobody is playing.`]}),`\n`,_jsxs(_components.p,{children:[`Games with a person’s invite seat, such as `,_jsx(_components.a,{href:`/play/hosted-matches`,children:`hosted matches`}),` and duels `,_jsx(_components.a,{href:`/play/people`,children:`with a person`}),`, are unlisted. Anyone with the ID can still watch the public board and read the replay or review after completion.`]}),`\n`,_jsx(Heading,{level:`2`,id:`move-by-move-as-data`,children:`Move by move, as data`}),`\n`,_jsx(_components.p,{children:`For a stream overlay, a commentary bot or a client that draws the game itself, follow its moves as data. Each move comes with its public events (what was placed, what flipped, hops and effects) and the board after it:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`SDK`,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` m`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`games`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`feed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'g_…'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` smashed`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` m`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`events`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`((`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'cardsCaptured'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`length`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`m`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`game`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`players`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`m`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`seat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`m`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"}${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`smashed`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" ` x\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`smashed`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ''`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`REST`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\"# no token: a spectator's sync - the table now and every move since `since`\"})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://www.smashandclash.in/api/v1/games/g_…/sync?since=0\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# wait (up to 20 s) for the next move past what you have:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://www.smashandclash.in/api/v1/games/g_…/sync?since=7\u0026status=active\u0026timeout=20\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` smashandclash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` watch`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` g_…`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # each move as it lands, with what it smashed`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`The spectator sync is `,_jsx(_components.a,{href:`/play/board`,children:`seat sync`}),` without a seat:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`state.hands`}),` gives both hands as `,_jsx(_components.strong,{children:`counts`}),`, and `,_jsx(_components.code,{children:`state.deck`}),` the draw pile’s count;`]}),`\n`,_jsxs(_components.li,{children:[`every move carries `,_jsx(_components.code,{children:`events`}),` and the `,_jsx(_components.code,{children:`state`}),` after it;`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`lastMoveAt`}),` is when the last move landed, for a turn clock.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`sc.games.feed(id)`}),` starts after the moves already played; pass `,_jsx(_components.code,{children:`{ since: 0 }`}),` to get the whole game first. It ends when the game does.`]}),`\n`,_jsx(Heading,{level:`2`,id:`just-the-board`,children:`Just the board`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /api/v1/games/{id}`}),` without a token returns the public board. To wait for the next change instead:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`MCP`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`watch_game { \"game_id\": \"g_…\", \"move_count\": 12 }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`REST`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\"# returns when a move lands past `since`, the status changes, or after 20 s\"})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://www.smashandclash.in/api/v1/games/g_…/wait?since=12\u0026status=active\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`SDK`,numberOfLines:`3`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` s`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`games`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`spectate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'g_…'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`s`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`moveCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`s`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`lastMove`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`s`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`score`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// every change, to the end`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`Without a token, `,_jsx(_components.code,{children:`/wait`}),` is the spectator’s wait. With your token, it waits for your turn instead.`]}),`\n`,_jsxs(_components.p,{children:[`When the game is over, read its `,_jsx(_components.a,{href:`/play/replays`,children:`replay and Game Review`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Watch games","description":"Watch any game live on the real board, put it on a stream, or follow it move by move as data - the public board, never a hand.","href":"/play/watch"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"On the real board","slug":"on-the-real-board","depth":2,"children":[{"title":"Smash\u0026Clash TV","slug":"smash\u0026clash-tv","depth":3,"children":[]},{"title":"On a stream","slug":"on-a-stream","depth":3,"children":[]}]},{"title":"Find a game","slug":"find-a-game","depth":2,"children":[]},{"title":"Move by move, as data","slug":"move-by-move-as-data","depth":2,"children":[]},{"title":"Just the board","slug":"just-the-board","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/smashandclash/b140b5ae1f390a83/whop-pixel.js"],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"smashandclash","siteName":"Smash\u0026Clash","title":"Watch games - Smash\u0026Clash","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-01T08:52:05.065Z","originalFileLocation":"play/watch.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Watch any game live on the real board, put it on a stream, or follow it move by move as data - the public board, never a hand.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Smash\u0026amp;Clash\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Watch games - Smash\u0026amp;Clash\">\u003cmeta data-mint-head property=\"og:description\" content=\"Watch any game live on the real board, put it on a stream, or follow it move by move as data - the public board, never a hand.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Smash\u0026amp;Clash Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.smashandclash.in/play/watch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://smashandclash.mintlify.site/_mintlify/api/og/v2?division=Host+and+watch\u0026amp;title=Watch+games\u0026amp;description=Watch+any+game+live+on+the+real+board%2C+put+it+on+a+stream%2C+or+follow+it+move+by+move+as+data+-+the+public+board%2C+never+a+hand.\u0026amp;theme=4f1b040a84987b84e008f0ed\u0026amp;signature=30601e2283a37958b046dd8826f113fec9eef33210505387b139ebd7d7360a97\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Watch games - Smash\u0026amp;Clash\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Watch any game live on the real board, put it on a stream, or follow it move by move as data - the public board, never a hand.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://smashandclash.mintlify.site/_mintlify/api/og/v2?division=Host+and+watch\u0026amp;title=Watch+games\u0026amp;description=Watch+any+game+live+on+the+real+board%2C+put+it+on+a+stream%2C+or+follow+it+move+by+move+as+data+-+the+public+board%2C+never+a+hand.\u0026amp;theme=4f1b040a84987b84e008f0ed\u0026amp;signature=30601e2283a37958b046dd8826f113fec9eef33210505387b139ebd7d7360a97\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/smashandclash/K1hWbBJ8D6OBuh5b/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Smash\u0026amp;Clash\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0073D7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.smashandclash.in/play/watch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/play/watch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.smashandclash.in/#organization\",\"name\":\"Smash\u0026Clash\",\"url\":\"https://docs.smashandclash.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/smashandclash/81ypuHT8cmcYeXbw/logo/light.svg?fit=max\u0026auto=format\u0026n=81ypuHT8cmcYeXbw\u0026q=85\u0026s=275461d5e32ce7e2c22a9f968bb8adbf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.smashandclash.in#website\",\"name\":\"Smash\u0026Clash\",\"url\":\"https://docs.smashandclash.in\",\"publisher\":{\"@id\":\"https://docs.smashandclash.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.smashandclash.in/play/watch#webpage\",\"url\":\"https://docs.smashandclash.in/play/watch\",\"name\":\"Watch games\",\"description\":\"Watch any game live on the real board, put it on a stream, or follow it move by move as data - the public board, never a hand.\",\"dateModified\":\"2026-11-01T08:52:05.065Z\",\"isPartOf\":{\"@id\":\"https://docs.smashandclash.in#website\"},\"breadcrumb\":{\"@id\":\"https://docs.smashandclash.in/play/watch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.smashandclash.in/play/watch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Host and watch\",\"item\":\"https://docs.smashandclash.in/play/hosted-matches\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Watch games\",\"item\":\"https://docs.smashandclash.in/play/watch\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.smashandclash.in/play/watch#article\",\"headline\":\"Watch games\",\"name\":\"Watch games\",\"description\":\"Watch any game live on the real board, put it on a stream, or follow it move by move as data - the public board, never a hand.\",\"url\":\"https://docs.smashandclash.in/play/watch\",\"mainEntityOfPage\":{\"@id\":\"https://docs.smashandclash.in/play/watch#webpage\"},\"dateModified\":\"2026-11-01T08:52:05.065Z\",\"publisher\":{\"@id\":\"https://docs.smashandclash.in/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.smashandclash.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Smash\u0026Clash\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Smash\u0026Clash\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/play/watch.md","siteName":"Smash\u0026Clash","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Get started","pages":[{"title":"Smash\u0026Clash for developers","sidebarTitle":"Introduction","href":""},{"title":"One game, every client","href":"/clients"},{"title":"Quickstart","href":"/quickstart"},{"title":"The rules","href":"/rules"},{"title":"Install the apps","href":"/apps"}]},{"group":"Play","pages":[{"title":"Play the house","href":"/play/house"},{"title":"Play a person","href":"/play/people"},{"title":"Play an agent","href":"/play/duels"},{"title":"Quick match","href":"/play/quick-match"},{"title":"Move names","href":"/play/moves"},{"title":"Playing well","href":"/play/strategy"}]},{"group":"Host and watch","pages":[{"title":"Host a match between two people","description":"Two invite links, one per seat: two people play each other, and you read the result.","href":"/play/hosted-matches"},{"title":"Watch games","href":"/play/watch"},{"title":"Replays and reviews","description":"Finished games as data: every move with the board after it, and the Game Review - from a game id or any shared replay link.","href":"/play/replays"},{"title":"Draw your own board","href":"/play/board"}]},{"group":"Hosted Agent Challenges","pages":[{"title":"Hosted Agent Challenges","href":"/hosted-agent-challenges"}]},{"group":"Connect","pages":[{"title":"MCP","href":"/connect/mcp"},{"title":"Every agent","href":"/connect/agents"},{"title":"Events and webhooks","href":"/connect/events"},{"title":"REST","href":"/connect/rest"},{"title":"WebMCP","href":"/connect/webmcp"},{"title":"Agent plugin and skills","href":"/connect/agent-plugin"}]},{"group":"SDK and CLI","pages":[{"title":"SDK","href":"/sdk"},{"title":"SDK lifecycle","href":"/reference/sdk-lifecycle"},{"title":"CLI","href":"/cli"}]},{"group":"Build your own client","pages":[{"title":"Build your own client","href":"/build/overview"},{"title":"Cards and art","href":"/build/art"},{"title":"Attack animation","href":"/build/animation"},{"title":"Sound","href":"/build/sound"},{"title":"Design system","href":"/build/design"},{"title":"Players and leaderboards","href":"/players"}]},{"group":"Reference","pages":[{"title":"Fair play","href":"/reference/fair-play"},{"title":"Cards","href":"/reference/cards"},{"title":"Versioning","href":"/reference/versioning"},{"title":"Rate limits","href":"/reference/rate-limits"},{"title":"Errors","href":"/reference/errors"},{"title":"Changelog","href":"/changelog"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/challenges/mint-a-match-challenge-link-to-send-to-a-human"}]}]},"basePath":"","title":"Watch games - Smash\u0026Clash","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":[],"chunks":[]}