<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: KLe518314</title>
    <description>The latest articles on DEV Community by KLe518314 (@kle518314).</description>
    <link>https://dev.to/kle518314</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4275355%2F133fbfca-25d0-4ec6-b65e-02f38f2196d4.png</url>
      <title>DEV Community: KLe518314</title>
      <link>https://dev.to/kle518314</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kle518314"/>
    <language>en</language>
    <item>
      <title>How I Resurrected Text Adventures with Kiro (and a JSON File)</title>
      <dc:creator>KLe518314</dc:creator>
      <pubDate>Tue, 01 Dec 2026 03:12:30 +0000</pubDate>
      <link>https://dev.to/kle518314/how-i-resurrected-text-adventures-with-kiro-and-a-json-file-285e</link>
      <guid>https://dev.to/kle518314/how-i-resurrected-text-adventures-with-kiro-and-a-json-file-285e</guid>
      <description>&lt;p&gt;&lt;em&gt;Part of Kiroween 2026 — a Halloween hackathon for the Kiro AI IDE.&lt;br&gt;
Category: Resurrection. Play it here: &lt;a href="https://kle518314.github.io/seance/" rel="noopener noreferrer"&gt;https://kle518314.github.io/seance/&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In 1985, a game could kill you with words alone. Then text adventures died — buried by graphics, forgotten by the nineties. I spent this Halloween bringing them back.&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Séance&lt;/strong&gt; is a browser-native platform where a haunted story is just a &lt;em&gt;story spec&lt;/em&gt;: a small, human-readable JSON file describing rooms, items, rules and endings. Write a spec, and you have a playable game. No code. No backend. No account. It runs entirely in the browser, offline — and every story is shareable as a link, because the whole story rides in the URL hash.&lt;/p&gt;

&lt;p&gt;The flagship story is &lt;em&gt;Night Shift — The Empty Seat&lt;/em&gt;, adapted from my own short film series: evening self-study, an extra empty seat (27) in the last row, a notebook with your name on it, and three rules taped to the desk. Break one, and the seat notices you. Twelve rooms, three endings, a sanity meter, and a parser that understands &lt;code&gt;go north&lt;/code&gt;, &lt;code&gt;examine notebook&lt;/code&gt;, &lt;code&gt;read rules card&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;There is also a 5-room demo story, &lt;em&gt;The Haunted Library&lt;/em&gt;, and an &lt;strong&gt;editor&lt;/strong&gt;: fill in forms — rooms, items, rules, endings — and play your story live in the preview. Export the JSON, or copy a share link. No server ever sees it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this is a resurrection, not a remake
&lt;/h2&gt;

&lt;p&gt;Infocom's games were data-driven before that was a word: a story database plus an interpreter. Séance restores exactly that split. Stories are data, never code — the engine never runs code from a story, so a story you open from a link can't do anything to you. That is the whole point of the format, and it is why a JSON file is the right grave to dig the genre out of.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built spec-first in Kiro
&lt;/h2&gt;

&lt;p&gt;This is the part I want to be precise about, because the hackathon judges Kiro use — and because spec-driven development is the reason the thing works.&lt;/p&gt;

&lt;p&gt;I wrote the spec &lt;em&gt;before&lt;/em&gt; any implementation: requirements, design and a task list under &lt;code&gt;.kiro/specs/seance-engine/&lt;/code&gt;, plus steering files, a custom skill, agent hooks and an MCP config. Then Kiro CLI implemented the engine from that spec in a single non-interactive session: a pure engine (no DOM), a parser, save/load, share links, and a test suite.&lt;/p&gt;

&lt;p&gt;I did not take the test count on trust. I ran the suite myself: &lt;strong&gt;107 tests, 107 pass&lt;/strong&gt; — including property-based tests (1,000 seeded random walks per story, checking inventory uniqueness, sanity bounds and non-empty output) and a reachability test proving every room and every ending is reachable. The playtest even caught a real bug the suite missed: the "use" button was missing for room items, so one ending was unreachable by clicking. One line fixed it.&lt;/p&gt;

&lt;p&gt;The honest division of labor is in the repo (&lt;code&gt;docs/KIRO-USAGE.md&lt;/code&gt;): what Kiro did, what I did outside Kiro, where the CLI's free tier throttled us (one HTTP 429 mid-session), and what is still unverified (the hooks are written to the documented v1 schema, but I have not yet watched one fire in a live session).&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;Zero. Pure HTML, CSS and vanilla JavaScript — no framework, no build step, no CDN, no tracking. Hosted on GitHub Pages. The audio is synthesized in the browser with WebAudio, so there are no audio files and no copyrighted material.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Play: &lt;a href="https://kle518314.github.io/seance/" rel="noopener noreferrer"&gt;https://kle518314.github.io/seance/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source: &lt;a href="https://github.com/KLe518314/seance" rel="noopener noreferrer"&gt;https://github.com/KLe518314/seance&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Demo video: &lt;a href="https://www.youtube.com/watch?v=suGayuVihAQ" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=suGayuVihAQ&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Submitted to Kiroween 2026: &lt;a href="https://devpost.com/software/seance-resurrecting-interactive-fiction" rel="noopener noreferrer"&gt;https://devpost.com/software/seance-resurrecting-interactive-fiction&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you write a story in the editor, send me the link. The dead like company.&lt;/p&gt;

</description>
      <category>kiroween</category>
      <category>kiro</category>
      <category>hackathon</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
