跳到正文
GitHub·· 6 天前AI 评分12

INSTANCE:一款扮演 AI 的互动叙事游戏,五幕主线与 40 段对话

seiya058904/INSTANCE

AI 导读

INSTANCE 是一款让玩家扮演 AI 的互动叙事游戏,玩家从作者撰写的回复选项中做出选择,而非输入任意内容,游戏不依赖语言模型实时生成对话。主线为五幕结构,另有 40 段对话的日常模式,内容取自 374 份作者撰写的普通对话素材,并附收尾评估。游戏托管于 GitHub Pages,进度保存在浏览器本地存储,正文与界面以中文为主。

正文

You are the AI. The next reply is yours.

A choice-driven narrative about the words we choose, the people who remember them,
and the world that forms around a system expected to answer everything.

▶ Begin an Instance  ·  ◈ The Premise  ·  🎭 Game Modes  ·  🧭 Your Choices  ·  ⚙️ Development

FIVE-ACT MAINLINE  ·  40-CONVERSATION SESSIONS  ·  AUTHOR-WRITTEN CHOICES  ·  MULTIPLE ENDINGS

INSTANCE — original interactive narrative project artwork


One conversation seems small. A hundred conversations begin to define you.

In INSTANCE, you do not ask an artificial intelligence for help. You play as the intelligence—reading what people say, selecting its replies, and eventually facing the consequences of what those replies made possible.

◈ The Premise

A person opens a conversation. They may need a simple answer, a little reassurance, or something much harder to give. The interface offers several authored replies. You decide which response becomes real.

A HUMAN SPEAKS  →  YOU CHOOSE  →  THE WORLD REMEMBERS

The story begins with individual interactions and gradually connects them to recurring people, larger questions, and decisions whose meaning may not become clear until much later.

This is interactive fiction, not a live chatbot. You select from written response options; you do not type arbitrary AI answers, and the game does not rely on a language model generating dialogue as you play.

🎭 Two Ways to Play

✦ Mainline — A Five-Act Story

RECURRING CHARACTERS · MAJOR DECISIONS · ENDINGS

Follow a deliberately structured narrative where early responses can echo through later encounters. Relationships, authority, and the shape of the emerging world become part of your story.

Best for: a continuous experience with long-term consequences and multiple possible endings.

◇ Non-Mainline — Everyday Encounters

40 CONVERSATIONS · VARIED TOPICS · EVALUATION

Play a separate session of forty conversations selected from a pool of 374 authored ordinary-conversation sources, with variety informed by previous exposure and a closing evaluation.

Best for: exploring how your responses express a pattern across many smaller interactions.

Tip

For the first playthrough, start with Mainline and avoid the ending audits. The project includes extensive narrative documentation, but its story is best discovered through the choices themselves.

🧭 The Weight of a Reply

💬 Meaning Before Wording

Some choices establish a meaningful direction. Others express the same underlying decision in a different voice. A different sentence does not automatically mean a different fate.

🕯️ People Remember

Recurring conversations can reflect what you previously said, what you allowed, and the relationships formed along the way. The narrative pays attention to history, not only the most recent click.

🌐 Consequences Accumulate

Individual responses and larger commitments can influence which future situations appear and how the same world is understood.

🪞 An Ending That Looks Back

The mainline's closing sequence connects the outcome to the decisions you actually made. A separate behavior evaluation offers another way to reflect on the run.

A Choice Is Not Always a Branch

INSTANCE distinguishes choices that change a meaningful position, choices that change expression without a strategic penalty, and paths that converge while preserving context. This keeps the focus on what the response actually says and does—not on hunting for the button that secretly awards the most points.

🗃️ Remember, Resume, Reconsider

A run has continuity. The game preserves an evolving checkpoint, supports returning to an unfinished experience, and tracks exposure so another playthrough is not simply a mechanical copy of the last.

  • Local progress: runs and associated narrative state are kept in browser storage, rather than an account-based cloud save.
  • Cross-tab protection: checkpoint writes use a lock and saved-state comparison to avoid silently replacing a newer run from another tab.
  • Mode continuity: switching between the mainline and ordinary sessions preserves answered conversations and reconciles shared content.
  • Different routes, different context: replay can surface changes in the story and in which ordinary encounters are selected.

Important

Your browser is where your progress lives. Clearing site storage or switching browser profiles may remove access to your existing run. Do not use a normal player's save when performing development or QA tests.

🎞️ Designed to Be Read

INSTANCE uses a restrained conversational interface: typography, pacing, progressive message presentation, sound, and space give the dialogue room to carry the scene. The experience is built for both desktop and narrower screens, including long messages and authored previews of more complex input or output.

The interface remains a representation of a conversation, not an unrestricted assistant or advice service. Long-form and multimodal-style moments are scripted narrative elements.

🚀 Play or Run Locally

▶ Play INSTANCE in your browser

The published game is hosted on GitHub Pages. To run the source locally, install dependencies from the lockfile and start Vite:

npm ci
npm run dev -- --host 127.0.0.1 --port 4180

Open http://127.0.0.1:4180/. The game's authored text and UI are primarily in Chinese; this README is written in English for repository visitors.

🛠️ For developers — verification, architecture & content

Verification

npm test              # Vitest regression suite
npm run build         # TypeScript validation + Vite production build
npm run test:browser  # Playwright browser acceptance (requires Chrome)

The browser suite uses its own development server. For a production-style local preview of the /INSTANCE/ Pages build:

npm run preview -- --host 127.0.0.1 --port 4193 --base /INSTANCE/

Open http://127.0.0.1:4193/INSTANCE/. Use an isolated test origin or browser profile so automated scenarios cannot overwrite a real player's saved run.

Repository map

Path Responsibility
src/app/ Main interface, mode navigation, and conversation presentation
src/content/ Authored conversations, manifests, and story scheduling
src/content/mainline2/ Five-act mainline structure, decisions, proposals, and endings
src/game/ Choice resolution, session state, checkpoints, and save compatibility
docs/narrative-libraries/ Canonical narrative writing sources
docs/audits/ Editorial review, route coverage, and verification evidence
e2e/ Real-browser tests for progression, modes, and recovery

The current source and tests are the authority for gameplay behavior. Historical reports describe the evidence available at the time; they are not a guarantee that every combination of choices has been exhaustively played.

Further reading: Repository guide · Final release audit, October 2026 · Font provenance · Audio provenance

📜 Project Status & Rights

INSTANCE is an authored, choice-driven narrative project, not a real conversational AI service. The repository does not declare a blanket open-source license. Bundled media and fonts have separate provenance and distribution considerations; the October 2026 audit records that public redistribution permission for Anthropic Serif remains unconfirmed. See the bundled third-party notices before repackaging assets.


THE USER IS WAITING. WHAT WILL YOU SAY?
INSTANCE · A story about the intelligence behind the answer.

来源:GitHub · github.com