Openturn is a TypeScript framework for turn-based games — local prototypes, replays, and cloud-hosted multiplayer all from one authored game definition.
Openturn is currently in an early alpha stage. APIs may change quickly, behavior may shift between releases, and the platform should be expected to be unstable while the core framework and hosted services are still evolving.
Openturn lets you write a turn-based game once in TypeScript and run it anywhere turns make sense: on a single device, in a local dev stack, or as a cloud-hosted multiplayer service. You describe the game as a plain value (state, moves, who can act, what each player sees); openturn handles the rest — running the rules, validating moves, syncing players, recording replays.A 30-second taste:
import { defineGame, move } from "@openturn/gamekit";export const game = defineGame({ maxPlayers: 2, setup: () => ({ value: 0 }), moves: { increment: move({ run({ G, move, player }) { const value = G.value + 1; if (value >= 5) return move.finish({ winner: player.id }, { value }); return move.endTurn({ value }); }, }), }, views: { public: ({ G, turn }) => ({ value: G.value, currentPlayer: turn.currentPlayer }), },});
That single value drives a local React app, a CLI, a hosted multiplayer server, an inspector, and replays — no extra wiring per surface.
What you get
A game is a plain value. You declare a state, a roster, moves, and views. The engine runs them. Nothing is hidden inside the framework — no globals, no implicit side effects.
One definition, every surface. The same defineGame(...) value powers a local React app, a CLI, a hosted multiplayer server, and a cloud deployment. Switching surfaces does not require touching the game.
Two authoring layers.@openturn/gamekit is the shortcut: declare phases, moves, turn policy, and outcomes. @openturn/core is the lower level — events, states, and transitions — for when you need full control of the state graph.
Deterministic replay and inspection. Every match produces a JSON log. Re-dispatch it and you get the exact same state, every time. The inspector lets you scrub through frames.
First-class hidden information.views.public and views.player decide what each audience sees, at the engine level — opponents never receive secrets they should not see.
Plug-and-play AI bots. Write a decide function (random, heuristic, or MCTS) and drop it into any seat. The same bot runs locally and over the network.
When to reach for openturn
You are building a turn-based, round-based, or phase-based game (chess, poker, deckbuilders, negotiation, tactics, party).
You want server-authoritative rules and clients that never receive secrets.
You want replays, undo, and a debug inspector without building them yourself.
You prefer plain TypeScript definitions over config files or a DSL.
When something else might fit better
Real-time action games (shooters, racers) where state ticks every frame.
Games dominated by physics or continuous simulation rather than discrete moves.
Non-game workflows that happen to be turn-shaped — a task queue or generic state machine library has less surface area.
Where to go from here
If you have never seen openturn before, follow these in order:
Prefer the mental model before the hands-on tour? Start with concepts: mental model.Want to see a fully realized openturn game? The Splendor example is the flagship — 2–4 player hosted multiplayer with hidden per-player state, three difficulty-tiered AI bots in the lobby, and a polished tabletop UI. Run it with bun --filter @openturn/example-splendor-app dev.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"openturn","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/openturn/IhMwXkA2l8gcju-a/logo/light.svg?fit=max\u0026auto=format\u0026n=IhMwXkA2l8gcju-a\u0026q=85\u0026s=a2338d638d283acaff4e7948ed644cd5","dark":"https://mintcdn.com/openturn/IhMwXkA2l8gcju-a/logo/dark.svg?fit=max\u0026auto=format\u0026n=IhMwXkA2l8gcju-a\u0026q=85\u0026s=c5c9c5038f8513ce5b6be617b26784d9"},"favicon":"https://mintcdn.com/openturn/B030L1JV95ldHbD1/favicon.svg?fit=max\u0026auto=format\u0026n=B030L1JV95ldHbD1\u0026q=85\u0026s=5fe4362c319294166f7fbddb22c0b146","navbar":{"links":[{"href":"https://github.com/openturn-io/openturn","type":"github"},{"href":"/examples","label":"Examples"},{"href":"/reference/packages","label":"Reference"}],"primary":{"type":"button","label":"Get started","href":"/get-started/install-and-run"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Examples","icon":"flag","href":"/examples"},{"anchor":"Package reference","icon":"blocks","href":"/reference/packages"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openturn","hasAudioNarration":false,"actualSubdomain":"openturn","customDomains":["openturn.io"],"gitSource":{"type":"github","owner":"openturn-io","repo":"openturn","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae956cdae4e45b47d969fe9:success","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"Documentation","count":45},{"language":"default","tag":"Reference","count":20},{"language":"default","tag":"Hosting","count":10},{"language":"default","tag":"Foundations","count":8},{"language":"default","tag":"UI \u0026 tools","count":8},{"language":"default","tag":"Authoring","count":7},{"language":"default","tag":"Recipes","count":6},{"language":"default","tag":"GameKit","count":5},{"language":"default","tag":"Tools","count":5},{"language":"default","tag":"Tutorial","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"index","slug":"/","pageMetadata":{"title":"Introduction","description":"Openturn is a TypeScript framework for turn-based games — local prototypes, replays, and cloud-hosted multiplayer all from one authored game definition.","sidebarTitle":"Introduction","href":"/index"},"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: \"Openturn is a TypeScript framework for turn-based games — local prototypes, replays, and cloud-hosted multiplayer all from one authored game definition.\"\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`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsx(_components.p,{children:`Openturn is currently in an early alpha stage. APIs may change quickly, behavior may shift between releases, and the platform should be expected to be unstable while the core framework and hosted services are still evolving.`})}),`\n`,_jsx(_components.p,{children:`Openturn lets you write a turn-based game once in TypeScript and run it anywhere turns make sense: on a single device, in a local dev stack, or as a cloud-hosted multiplayer service. You describe the game as a plain value (state, moves, who can act, what each player sees); openturn handles the rest — running the rules, validating moves, syncing players, recording replays.`}),`\n`,_jsx(_components.p,{children:`A 30-second taste:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,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:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`defineGame`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`move`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@openturn/gamekit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` game`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` defineGame`}),_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:` maxPlayers:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setup`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_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\":`#D4D4D4`},children:` ({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_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:` moves:`}),_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:` increment:`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` move`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` run`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`G`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`move`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`player`}),_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:` value`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` G`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_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\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` >=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` move`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`finish`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`winner:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` player`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_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\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` move`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`endTurn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_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(_components.span,{className:`line`,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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` views:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` public`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ({ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`G`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`turn`}),_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\":`#D4D4D4`},children:` ({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` G`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`currentPlayer:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` turn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`currentPlayer`}),_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(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`That single value drives a local React app, a CLI, a hosted multiplayer server, an inspector, and replays — no extra wiring per surface.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-get`,children:`What you get`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A game is a plain value.`}),` You declare a state, a roster, moves, and views. The engine runs them. Nothing is hidden inside the framework — no globals, no implicit side effects.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`One definition, every surface.`}),` The same `,_jsx(_components.code,{children:`defineGame(...)`}),` value powers a local React app, a CLI, a hosted multiplayer server, and a cloud deployment. Switching surfaces does not require touching the game.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Two authoring layers.`}),` `,_jsx(_components.code,{children:`@openturn/gamekit`}),` is the shortcut: declare phases, moves, turn policy, and outcomes. `,_jsx(_components.code,{children:`@openturn/core`}),` is the lower level — events, states, and transitions — for when you need full control of the state graph.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Deterministic replay and inspection.`}),` Every match produces a JSON log. Re-dispatch it and you get the exact same state, every time. The inspector lets you scrub through frames.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`First-class hidden information.`}),` `,_jsx(_components.code,{children:`views.public`}),` and `,_jsx(_components.code,{children:`views.player`}),` decide what each audience sees, at the engine level — opponents never receive secrets they should not see.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Plug-and-play AI bots.`}),` Write a `,_jsx(_components.code,{children:`decide`}),` function (random, heuristic, or MCTS) and drop it into any seat. The same bot runs locally and over the network.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`when-to-reach-for-openturn`,children:`When to reach for openturn`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`You are building a turn-based, round-based, or phase-based game (chess, poker, deckbuilders, negotiation, tactics, party).`}),`\n`,_jsx(_components.li,{children:`You want server-authoritative rules and clients that never receive secrets.`}),`\n`,_jsx(_components.li,{children:`You want replays, undo, and a debug inspector without building them yourself.`}),`\n`,_jsx(_components.li,{children:`You prefer plain TypeScript definitions over config files or a DSL.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`when-something-else-might-fit-better`,children:`When something else might fit better`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Real-time action games (shooters, racers) where state ticks every frame.`}),`\n`,_jsx(_components.li,{children:`Games dominated by physics or continuous simulation rather than discrete moves.`}),`\n`,_jsx(_components.li,{children:`Non-game workflows that happen to be turn-shaped — a task queue or generic state machine library has less surface area.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`where-to-go-from-here`,children:`Where to go from here`}),`\n`,_jsx(_components.p,{children:`If you have never seen openturn before, follow these in order:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/get-started/install-and-run`,children:_jsx(_components.strong,{children:`Install and run the examples`})}),` — five minutes, just to see what the running games look like.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/get-started/your-first-game`,children:_jsx(_components.strong,{children:`Your first game`})}),` — scaffold a project with `,_jsx(_components.code,{children:`openturn create`}),` and edit your way to a playable React game in ten minutes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/tutorials/tic-tac-toe-gamekit`,children:_jsx(_components.strong,{children:`Tic-tac-toe with gamekit`})}),` — the full guided tour: a real game, a React UI, and an optional CLI. Subsequent tutorials reuse it for `,_jsx(_components.a,{href:`/tutorials/tic-tac-toe-multiplayer`,children:`hosted multiplayer`}),`, `,_jsx(_components.a,{href:`/tutorials/tic-tac-toe-replay`,children:`replays`}),`, `,_jsx(_components.a,{href:`/tutorials/tic-tac-toe-core`,children:`raw core authoring`}),`, and `,_jsx(_components.a,{href:`/tutorials/tic-tac-toe-bot`,children:`bots`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Prefer the mental model before the hands-on tour? Start with `,_jsx(_components.a,{href:`/concepts/mental-model`,children:`concepts: mental model`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Want to see a fully realized openturn game? The `,_jsx(_components.a,{href:`/examples#featured-splendor`,children:_jsx(_components.strong,{children:`Splendor`})}),` example is the flagship — 2–4 player hosted multiplayer with hidden per-player state, three difficulty-tiered AI bots in the lobby, and a polished tabletop UI. Run it with `,_jsx(_components.code,{children:`bun --filter @openturn/example-splendor-app dev`}),`.`]})]})}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":"Introduction","description":"Openturn is a TypeScript framework for turn-based games — local prototypes, replays, and cloud-hosted multiplayer all from one authored game definition.","sidebarTitle":"Introduction","href":"/index"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you get","slug":"what-you-get","depth":2,"children":[]},{"title":"When to reach for openturn","slug":"when-to-reach-for-openturn","depth":2,"children":[]},{"title":"When something else might fit better","slug":"when-something-else-might-fit-better","depth":2,"children":[]},{"title":"Where to go from here","slug":"where-to-go-from-here","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"openturn","siteName":"openturn","title":"Introduction - openturn","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-04T10:50:54.038Z","originalFileLocation":"index.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=\"Openturn is a TypeScript framework for turn-based games — local prototypes, replays, and cloud-hosted multiplayer all from one authored game definition.\">\u003cmeta data-mint-head name=\"application-name\" content=\"openturn\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_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=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Introduction - openturn\">\u003cmeta data-mint-head property=\"og:description\" content=\"Openturn is a TypeScript framework for turn-based games — local prototypes, replays, and cloud-hosted multiplayer all from one authored game definition.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"openturn\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://openturn.io/docs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openturn.mintlify.site/docs/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Introduction\u0026amp;description=Openturn+is+a+TypeScript+framework+for+turn-based+games+%E2%80%94+local+prototypes%2C+replays%2C+and+cloud-hosted+multiplayer+all+from+one+authored+game+definition.\u0026amp;theme=1ebbdc82f37b6d53d42091ce\u0026amp;signature=880482c8973fc701da45d16d7792e284b51b35872b3b179aa83038760e5c3090\">\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=\"Introduction - openturn\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Openturn is a TypeScript framework for turn-based games — local prototypes, replays, and cloud-hosted multiplayer all from one authored game definition.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openturn.mintlify.site/docs/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Introduction\u0026amp;description=Openturn+is+a+TypeScript+framework+for+turn-based+games+%E2%80%94+local+prototypes%2C+replays%2C+and+cloud-hosted+multiplayer+all+from+one+authored+game+definition.\u0026amp;theme=1ebbdc82f37b6d53d42091ce\u0026amp;signature=880482c8973fc701da45d16d7792e284b51b35872b3b179aa83038760e5c3090\">\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=\"/docs/mintlify-assets/_mintlify/favicons/openturn/4707-5yIVOdbH26c/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"openturn\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://openturn.io/docs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/index.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://openturn.io/#organization\",\"name\":\"openturn\",\"url\":\"https://openturn.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openturn/IhMwXkA2l8gcju-a/logo/light.svg?fit=max\u0026auto=format\u0026n=IhMwXkA2l8gcju-a\u0026q=85\u0026s=a2338d638d283acaff4e7948ed644cd5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://openturn.io/docs#website\",\"name\":\"openturn\",\"url\":\"https://openturn.io/docs\",\"publisher\":{\"@id\":\"https://openturn.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://openturn.io/docs#webpage\",\"url\":\"https://openturn.io/docs\",\"name\":\"Introduction\",\"description\":\"Openturn is a TypeScript framework for turn-based games — local prototypes, replays, and cloud-hosted multiplayer all from one authored game definition.\",\"dateModified\":\"2026-05-04T10:50:54.038Z\",\"isPartOf\":{\"@id\":\"https://openturn.io/docs#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://openturn.io/docs#article\",\"headline\":\"Introduction\",\"name\":\"Introduction\",\"description\":\"Openturn is a TypeScript framework for turn-based games — local prototypes, replays, and cloud-hosted multiplayer all from one authored game definition.\",\"url\":\"https://openturn.io/docs\",\"mainEntityOfPage\":{\"@id\":\"https://openturn.io/docs#webpage\"},\"dateModified\":\"2026-05-04T10:50:54.038Z\",\"publisher\":{\"@id\":\"https://openturn.io/#organization\"},\"isPartOf\":{\"@id\":\"https://openturn.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"openturn\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"openturn\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/index.md","siteName":"openturn","nav":{"global":{"anchors":[{"anchor":"Examples","icon":"flag","href":"/examples"},{"anchor":"Package reference","icon":"blocks","href":"/reference/packages"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Get started","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":""},{"title":"Install and run","description":"Clone the openturn repo, install dependencies, and run the example apps end to end.","sidebarTitle":"Install","href":"/get-started/install-and-run"},{"title":"Authoring with AI agents","sidebarTitle":"AI agents","href":"/agent-skills"},{"title":"Your first game","sidebarTitle":"First game","href":"/get-started/your-first-game"}]},{"group":"Tutorial","pages":[{"title":"Tic-tac-toe with gamekit","sidebarTitle":"GameKit","href":"/tutorials/tic-tac-toe-gamekit"},{"title":"Tic-tac-toe as hosted multiplayer","sidebarTitle":"Multiplayer","href":"/tutorials/tic-tac-toe-multiplayer"},{"title":"Tic-tac-toe replay viewer","sidebarTitle":"Replay","href":"/tutorials/tic-tac-toe-replay"},{"title":"Tic-tac-toe with core directly","sidebarTitle":"Core","href":"/tutorials/tic-tac-toe-core"},{"title":"Tic-tac-toe with bots","sidebarTitle":"Bots","href":"/tutorials/tic-tac-toe-bot"}]},{"group":"Foundations","pages":[{"title":"Mental model","sidebarTitle":"Mental model","href":"/concepts/mental-model"},{"title":"Authoritative state and snapshots","sidebarTitle":"State","href":"/concepts/authoritative-state"},{"title":"Events, states, and transitions","sidebarTitle":"Events","href":"/concepts/events-states-transitions"},{"title":"Reducers and queued events","sidebarTitle":"Reducers","href":"/concepts/reducers-and-queued-events"},{"title":"Turns, phases, and control","sidebarTitle":"Turns","href":"/concepts/turns-phases-control"},{"title":"Selectors and player views","sidebarTitle":"Selectors","href":"/concepts/selectors-and-player-views"},{"title":"Persistent profiles","sidebarTitle":"Profiles","href":"/concepts/persistent-profiles"},{"title":"Author a game with core directly","sidebarTitle":"Authoring","href":"/how-to/author-with-core"}]},{"group":"GameKit","pages":[{"title":"Gamekit: the move-first layer","sidebarTitle":"Overview","href":"/concepts/gamekit"},{"title":"Author a game with gamekit","sidebarTitle":"Authoring","href":"/how-to/author-with-gamekit"},{"title":"Gamekit moves and outcomes","sidebarTitle":"Moves","href":"/concepts/gamekit-moves-and-outcomes"},{"title":"Gamekit turn gating","sidebarTitle":"Turn gating","href":"/concepts/gamekit-permissions-and-turns"},{"title":"Gamekit views and computed","sidebarTitle":"Computed","href":"/concepts/gamekit-views-and-computed"}]},{"group":"Recipes","pages":[{"title":"Handle randomness deterministically","sidebarTitle":"Randomness","href":"/how-to/handle-randomness"},{"title":"Model hidden information with player views","sidebarTitle":"Hidden info","href":"/how-to/model-hidden-info"},{"title":"Handle simultaneous moves","sidebarTitle":"Simultaneous","href":"/how-to/handle-simultaneous-moves"},{"title":"Persist player state across matches","sidebarTitle":"Persistence","href":"/how-to/persist-player-state"},{"title":"Configure match settings in the lobby","sidebarTitle":"Match config","href":"/how-to/configure-match-settings"},{"title":"Enforce turn timeouts","sidebarTitle":"Turn timeouts","href":"/how-to/enforce-turn-timeouts"}]},{"group":"AI bots","pages":[{"title":"AI bots","sidebarTitle":"Bots","href":"/concepts/bots"},{"title":"Add an AI bot to a game","sidebarTitle":"Add a bot","href":"/how-to/add-a-bot"},{"title":"Play against bots in the lobby","sidebarTitle":"Play against bots","href":"/how-to/play-against-bots"}]},{"group":"Hosting","pages":[{"title":"Runtime boundaries","sidebarTitle":"Runtimes","href":"/concepts/runtime-boundaries"},{"title":"Local vs hosted architecture","sidebarTitle":"Local vs hosted","href":"/concepts/local-vs-hosted"},{"title":"Run a local session","sidebarTitle":"Local session","href":"/how-to/run-a-local-session"},{"title":"Run a local hosted stack","sidebarTitle":"Local hosted","href":"/how-to/run-local-hosted"},{"title":"Deploy to openturn cloud","sidebarTitle":"Deploy","href":"/how-to/deploy-to-openturn-cloud"}]},{"group":"Tools","pages":[{"title":"Bind a game to React","sidebarTitle":"React","href":"/how-to/bind-to-react"},{"title":"Add a CLI front-end","sidebarTitle":"CLI","href":"/how-to/add-a-cli"},{"title":"Debug with inspector","sidebarTitle":"Inspector","href":"/how-to/debug-with-inspector"},{"title":"Capture and replay matches","sidebarTitle":"Replays","href":"/how-to/capture-replays"},{"title":"Build a lobby","sidebarTitle":"Lobby","href":"/how-to/build-a-lobby"}]},{"group":"More","pages":[{"title":"Examples","sidebarTitle":"Examples","href":"/examples"},{"title":"Development notes","sidebarTitle":"Development","href":"/development"},{"title":"Publish packages","sidebarTitle":"Publishing","href":"/publishing"},{"title":"Type system layers","sidebarTitle":"Type layers","href":"/type-layers"}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/packages"}]}]},"basePath":"","title":"Introduction - openturn","deploymentId":"dpl_81ettUQ5G7NASN425B6JKU3FX1Rg","buildId":"dpl_81ettUQ5G7NASN425B6JKU3FX1Rg","dynamics":[],"chunks":[]}