Inspiration

What if software bugs could haunt you?

It's midnight. You enter a haunted guesthouse. You sign the guestbook, but the confirmation bell never rings. Thinking something went wrong, you sign another slip.

Footsteps approach. A second room key falls. A mysterious figure appears in the mirror.

You came alone. So who is the other guest?

The answer is hidden in a database.

As a computer science student, I've always been curious about finding creative ways to understand technology. I wanted to turn a seemingly complicated software engineering concept into something people could experience, enjoy and remember.

Imagine paying for a train ticket. Your payment succeeds, but the confirmation never arrives. You try again, and without the right safeguards, you could end up paying twice.

What if this invisible software failure appeared as a ghost?

With the opportunity provided by Kiro and AWS through Kiroween, I decided to explore this unusual combination of software engineering, education and Halloween storytelling.

That idea became BhootTrace - The Guest Who Never Left.

What it does

BhootTrace is an interactive 3D horror mystery where players investigate a haunted guesthouse and solve a real software engineering problem.

The gameplay is simple:

  1. Check in: Enter the guesthouse, investigate a mysterious telephone warning and sign the guestbook.
  2. Discover the haunting: The confirmation bell remains silent. Investigate the original registration or sign another slip and discover the consequences.
  3. Investigate: Examine hidden evidence, mysterious room keys and a supernatural apparition.
  4. Activate Bhoot Vision: Use an interactive lens to uncover the technical truth behind the haunting.
  5. Break the curse: Choose the correct solution, test it against a real backend and witness the guesthouse return to peace.

The experience features atmospheric lighting, thunder, directional footsteps, interactive objects, progressive hints, cinematic camera movements and two investigation paths.

But there's something different about this ghost.

The ghost is a duplicate database record, made visible.

The original registration was successfully saved, but its confirmation was lost. Signing a fresh slip creates another operation, resulting in a duplicate record.

Bhoot Vision helps players understand this through familiar physical objects:

Guesthouse object Software concept
Registration slip Operation identifier
Guestbook Database
Carbon copy Evidence of a saved operation
Confirmation bell Server acknowledgement
Ghost Duplicate database record
Bhoot Vision Debugging and observability

To prevent another haunting, the player reuses the original operation identifier. The server recognizes the repeated operation and prevents another duplicate in a repaired replay.

Two attempts. One operation. One record.

This demonstrates idempotency, an important software engineering concept used to make operations such as payments, bookings and transactions safer to retry.

The ending is triggered by genuine backend verification. The original duplicate remains as historical evidence.

No programming knowledge is required. Just curiosity.

How we built it

BhootTrace was assisted by Kiro throughout its entire development journey, from the initial idea to the publicly deployed application.

As a student, receiving free Kiro credits through Kiroween was an exciting opportunity. It allowed me to experiment with different AI models, including Claude Opus and Claude Sonnet, explore ambitious ideas and experience how different models approach development tasks.

How I used Kiro

  • Spec-driven development: Transformed my creative idea into structured requirements, technical designs and implementation tasks.
  • Kiro Steering: Maintained consistency across storytelling, backend behaviour, visual direction and development constraints.
  • Agent-assisted development: Helped implement the 3D environment, camera system, interactive objects, narrative progression, Bhoot Vision and backend functionality.
  • Agent Hooks: Supported automated regression checks throughout development.
  • Debugging and testing: Helped identify integration problems, verify both investigation paths and ensure that supernatural events matched actual backend state.
  • Iterative refinement: Translated my personal gameplay feedback into improvements to guidance, curiosity, interaction and educational clarity.
  • Mobile optimization: Helped improve rendering performance, screen ratios, camera framing and touchscreen interactions.
  • Deployment preparation: Assisted with GitHub publication, Render configuration and production verification.

Kiro's ability to work across multiple components was particularly valuable because the project combined creative storytelling with genuine software engineering.

Technology stack

  • Three.js and WebGL: Real-time 3D environment and supernatural visual effects.
  • JavaScript, HTML and CSS: Gameplay, interactions and responsive interfaces.
  • Web Audio API: Procedural atmospheric sounds.
  • Python and SQLite: Real backend operations, controlled failure simulation and repair verification.
  • Playwright: Automated browser and gameplay testing.
  • GitHub and Render: Version control and public deployment.

The project retains its Kiro development artifacts in the public repository.

At one development checkpoint, BhootTrace passed 376 JavaScript tests, 74 backend tests and 90 browser checks, with one additional browser check skipped.

Challenges we ran into

The tests passed. The experience didn't.

One of the most interesting moments happened when an early version of BhootTrace passed hundreds of automated checks.

Then I played it myself.

It wasn't fun enough.

The instructions were confusing, the investigation felt passive, and the software problem was difficult to understand.

Instead of asking Kiro to add more features, I started giving it feedback based on my actual gameplay experience.

Together, these iterations introduced clearer instructions, progressive hints, player-controlled discoveries, improved supernatural encounters and a more satisfying ending.

Other challenges included maintaining technical accuracy within the horror story, optimizing real-time 3D graphics for mobile devices and managing limited development credits.

Experimenting with different models in Kiro also taught me when deeper reasoning was useful and when a simpler, more efficient approach was enough.

Accomplishments that we're proud of

  • Turning an invisible software failure into a playable supernatural mystery.
  • Creating Bhoot Vision as an interactive bridge between storytelling and software engineering.
  • Connecting the haunting to actual database records instead of relying entirely on scripted animations.
  • Implementing a genuinely server-verified repair.
  • Building and deploying a complete browser-based 3D experience with desktop and mobile support.
  • Using Kiro's specifications, steering, hooks and agent-assisted development throughout the project.

Most importantly, I am proud that an unusual idea became something real that people can actually play.

It was a challenging project, but also a genuinely fun one to build.

What we learned

BhootTrace taught me about idempotency, ambiguous failures, database consistency and reliable retry mechanisms.

It also taught me that building software that works is different from building software that people understand and enjoy.

My favourite aspect of Kiro was its spec-driven development workflow. It helped turn an ambitious idea into manageable tasks while giving me the freedom to experiment creatively.

The credits provided through Kiroween gave me an opportunity to explore different AI models and development approaches that I might not otherwise have experienced as a student.

I'm grateful to the Kiro and AWS teams for creating this opportunity to experiment, learn and build something outside my usual academic projects.

Beyond the technical lessons, this hackathon reminded me how enjoyable software development can be when imagination is part of the process.

Learning software engineering doesn't always have to begin with a definition.

Sometimes, it can begin with a ghost.

What's next for BhootTrace

BhootTrace currently explores duplicate operations caused by unsafe retries.

I would love to expand it into a collection of interactive software engineering mysteries, where different supernatural phenomena represent different technical failures.

  • Race conditions: Events that occur in conflicting orders, altering reality.
  • Deadlocks: Supernatural events trapped in a cycle of mutual waiting.
  • Memory leaks: A haunting that gradually consumes its environment.
  • Cache inconsistencies: Conflicting versions of reality.

With Kiro, I hope to continue exploring how software engineering concepts can become engaging, interactive learning experiences.

The vision is simple: make difficult concepts something people can experience, understand and remember.


Dare to check in?

Play BhootTrace - The Guest Who Never Left

Explore the source code on GitHub

Designed, developed, tested and refined with Kiro.

Built for the Kiroween 2026 Hackathon - Costume Contest.

One guest. Two signatures. Something else checked in.

Every ghost has a cause. Every bug leaves a trace.

Built With

Share this project:

Updates

Submission history