Inspiration

I have participated in 2 hackathons till now and for this one, I really wanted to build a game. Since for this hackathon, we need to use Kiro at its best, I thought what's better than to use Kiro's most advanced feature: hooks.

After a little brainstorming with Kiro, we finally reached this game.

What it does

Chrono-Shaper is a 2D physics-based puzzle platformer with a revolutionary core concept: the player does not find solutions; they invent them.

In each level, the player is presented with a seemingly impossible objective. Standard platforming skills are insufficient. To succeed, the player must find and utilize "Fragments"—relics of code that grant the ability to fundamentally alter the laws of physics. By bringing a collected Fragment to a "Console" and activating it, the player triggers a hook that rewrites the game's reality in real-time.

Our first level demonstrates this perfectly:

  • The Problem: A button on the ceiling is too high to reach, blocking the exit.
  • The Tool: The player collects an "Anti-Gravity" Fragment.
  • The Solution: The player activates the Fragment at a console. The game's gravity variable is instantly flipped, causing both the player and a nearby prop box to float upwards. The player then cleverly maneuvers the floating box to press the ceiling button, opening the door.

Chrono-Shaper is a game that rewards intellect and creativity over reflexes. It challenges players to look at a problem not for what it is, but for what it could be if they had the power to change the rules.

The Kiro Engine: Real-time Reality Bending

For Chrono-Shaper, Kiro's hook feature is not a peripheral tool; it is the central nervous system of the entire game. Our implementation showcases a deep and powerful use of this real-time code modification capability.

When a player activates a Fragment at a console, they are not simply triggering a pre-programmed event. They are executing a Kiro hook that directly modifies the live Python code of the game engine itself.

This real-time, fundamental change to the game's core logic is what allows for truly emergent gameplay. The consequences of the player's actions are not scripted; they are the direct result of a new physical reality that affects every object in the level simultaneously. We have leveraged Kiro to build a game where the very source code is part of the playfield.

How we built it

First, I went to chat with Kiro for brainstorming. I was specific that I wanted to build a game that must use the hooks feature. After some trial and error (I kinda went to Indian mythology for a game, but that would require cool drawing skills and a plot), I finally gave it a clear set of prompts. The game needed to:

  • Attract a male audience.
  • Require thinking and be expandable.
  • Have the charm of games like Mario or Candy Crush.
  • And most importantly, it must use the hook feature.

After this, Kiro gave me the idea for Chrono-Shaper and the prototype for the first level. However, I did not know how to code in Pygame, so I left everything to Kiro. It generated the specs and the game looked good, but the hook feature just wasn't working. I spent a day debugging with Kiro, but we were stuck in a loop.

Finally, I decided to learn Pygame myself. I built everything for level 1 except for the hook. Then, I asked Kiro to add the code for on-screen messages and to implement the hook logic to rewrite the code. This time, it worked perfectly. After that, I was able to generate a brand new level entirely with Kiro, and it worked on the first try.

Challenges we ran into

The biggest challenge was the initial failure of the hook feature. When I let Kiro generate the entire project from specs, the game looked perfect but would break when the hook was called. Even after constant debugging, Kiro wasn't able to find the problem, and I was getting frustrated.

The breakthrough came when I took a hybrid approach. I learned Pygame to build the stable foundation of the level myself, and then I tasked Kiro with the specific, high-level features like adding UI messages and, most importantly, integrating the complex hook logic. This combination of human-led structure and AI-powered implementation was the key to making it work.

Accomplishments that we're proud of

Being able to build the first level myself and then successfully integrate the complex Kiro hook to bring the game's core idea to life is the biggest achievement of this project.

What we learned

I learned the fundamentals of 2D game development using Pygame. Now I can easily make games like Flappy Bird or Snake!

What's next for Chrono-Shaper

This part is what I am most excited about. Our vision for Chrono-Shaper extends far beyond a series of puzzles. We aim to build a scalable, community-driven platform for creative problem-solving, a vision made uniquely possible by Kiro. This vision is built on three core pillars:

Pillar 1: Expanding the Core Gameplay (Depth)

We will enrich the single-player experience by expanding the player's reality-bending toolkit. The core philosophy is Emergent Solutions by Design: We do not design puzzles with a single solution. We design "problem spaces." Because Kiro's hooks allow us to rewrite physics logic in real-time, every level can be solved in a near-infinite number of ways. The solution is invented, not found.

Pillar 2: The "Reality Weaver" Engine (Longevity)

To ensure near-infinite replayability, we will empower our players to become creators with an In-Game Level Editor. The true power of this, enabled by Kiro, is that creators won't just place blocks; they will define the ruleset. A level can be designed to only allow specific fragments, creating unique and focused challenges.

Pillar 3: The Nexus & Multiplayer (Community)

We will foster a vibrant community with shared spaces. This includes The Nexus Hub, an interactive world to test fragments, and Co-operative "Rift Challenges" that require two players to combine their unique abilities. Kiro is essential here to manage and synchronize state changes across the network, ensuring both players experience the same seamless shift in reality.


In conclusion, Chrono-Shaper is a testament to the power of Kiro. It is a project built from the ground up to leverage the unique potential of real-time code modification, creating a game where the only limit is the player's own imagination.

Built With

Share this project:

Updates