Inspi## Inspiration

For the Costume Contest track of Kiroween 2026, we wanted to take a calm, practical utility—a Morse code trainer—and dress it in a painfully realistic 1970s hardware costume that slowly turns into a horror story told by the radio's own parts. Instead of slapping Halloween graphics onto a standard web layout, we wanted the UI itself to earn the scare: a brushed-metal transceiver that feels completely real, until the amber LCD cracks, bleeds black liquid crystal, and refuses to let you go.

What it does

On the surface, HAMorse is a mobile-first virtual ham radio (88–108 MHz):

  • Tactile 1970s Hardware: Throw the MAIN POWER breaker, spin the weighted VFO dial, watch the analog S-meter bounce, and key DIT and DAH on a twin-lever Morse paddle with haptic feedback and a 700 Hz sidetone.
  • Live Band & Tutors: Tune into live AM broadcast streams (89.30, 93.50, 98.10 MHz) routed through a vintage AM audio chain, or explore the 100.00–103.50 MHz ham band—including The Guide (90.20), The Elmer (100.30) who teaches you letter by letter, Bob (102.40) for realistic QSOs, The Stranger (102.75), and Sam (103.10) for high-speed copy.
  • Operator's Reference Card & Smart Decoder: Slide out the dog-eared REF card (with a hold-to-zoom magnifying loupe) that pencils in your learned letters and best WPM. Toggle DECODER ON/OFF to read transmissions or copy by ear.
  • The Haunt: Hidden somewhere new on the dial every reset—pencilled onto the last operator's card—is a frequency that isn't on any list. Answer it, and a multi-agent Ghost entity engages you in real-time CW, escalating tension until it triggers the [[CLIMAX]] sequence: cracking the amber LCD, rotting the reference card with black grease, and dropping a low-frequency drone and jumpscare stinger.
  • Optional Live Air (TX GBL): Flip the TX GBL guard to transmit live Morse over WebSockets (server/tx-relay.mjs) to anyone else tuned to the same frequency.

How we built it

  • Zero Assets, Pure Code: Built with React 18, TypeScript, Vite, and plain CSS (no UI libraries, no 3D frameworks). Every pixel is CSS and SVG, and every sound—700 Hz sidetone, band static with QSB fading, physically modelled breaker/switch clicks, the ghost's drone, and a limiter-protected horror stinger—is synthesised live with the Web Audio API.
  • ITU Morse Timing: Standard PARIS timing is enforced across the keyer and decoder, where the base unit duration scales with speed as $T_{\text{dit}} = \frac{1.2}{\text{WPM}}\text{ s}$, maintaining strict $1:3:7$ ratios for dit, dah, and word spacing.
  • Multi-Agent Engine (agentEngine.ts): The Guide, the Stranger, and the Ghost run on built-in offline local brains by default so the app works anywhere, with an optional Node.js server (server/agent-route.mjs) connecting to Groq (qwen/qwen3.8-27b) or any OpenAI-compatible LLM for live AI-driven CW conversations.
  • Built with Kiro (on an Android smartphone via Kiro Web):
    • Specs (.kiro/specs/hamorse/): Maintained requirements, architecture design, and ~115 structured tasks across every iteration.
    • Steering (.kiro/steering/): Enforced our core "earn the scare" product vision, mobile-first ergonomics, and zero-asset skeuomorphic design rules.
    • Hooks (validate-morse): Automatically validated every A–Z and 0–9 code against ITU Morse whenever the dictionary was saved, guaranteeing the decoder and reference card never disagree.
    • Powers (morse-validator, live-streams): Verified Morse codes and discovered CORS/HTTPS-compatible live radio streams.
    • Playwright MCP: Verified phone-sized layouts, card rot stages, stinger loudness, and frame-by-frame flicker timing—strictly enforcing $\le 3\text{ Hz}$ (flashes per second) for photosensitivity safety.

Challenges we ran into

  • Mobile Web Audio & Touch Ergonomics: Mobile browsers block autoplay and struggle with rapid touch input. We solved autoplay naturally by requiring the user to throw the physical MAIN POWER breaker, blocked pinch-zoom and pull-to-refresh during rapid keying, and added audio-context recovery after calls or tab switches.
  • Pacing the Haunt: Early LLM prompts rushed straight to the scare. We had to refine agent-route.mjs and the Ghost's conversation history so it stays in character—replying in short, uppercase CW shorthand—and builds genuine dread before emitting the [[CLIMAX]] token.
  • Mobile-Only Workflow & Security: Developing, testing, and deploying the entire project on a single Android phone—including refactoring API key handling to strict server-side environment variables after hitting GitHub push protection—required tight discipline and automated checks.

Accomplishments that we're proud of

  • Delivering a tactile, atmospheric 1970s hardware illusion with zero image files and zero audio files.
  • Shipping 57 passing unit tests covering Morse timing, stations, agents, progress tracking, and the agent route.
  • Blending a genuinely useful Morse code trainer with an interactive horror experience that feels seamless on a phone screen.

What we learned

  • How to synthesize convincing physical foley, analog radio static, and limiter-safe horror audio directly in the browser via the Web Audio API.
  • How to use Kiro's spec-driven workflow, steering docs, hooks, and Playwright MCP to ship and verify a complex UI from a mobile browser.
  • How to constrain LLM outputs into strict domain formats (short CW shorthand) while preserving narrative pacing.

What's next for HAMorse

  • Hosting a permanent public TX GBL WebSocket relay so operators worldwide can talk to each other on the band in real time.
  • Adding unlockable vintage transceiver "costumes" (such as an abandoned field radio) and additional hidden frequencies to discover. ration

Built With

Share this project:

Updates

Submission history