# Kavach

- **Event:** [Google DeepMind Bangalore Hackathon](https://cerebralvalley.ai/e/google-deepmind-bangalore-hackathon)
- **When:** Sat, Jul 11 at 9:00 AM – 10:00 PM (GMT+5:30)
- **Where:** Marathahalli, Marathahalli Main Road
- **Placement:** 1st Place
- **Team:** [Fahim Ahmed](https://cerebralvalley.ai/u/ahmedfahim), [Parth Mittal](https://cerebralvalley.ai/u/mittal-parth), [Apoorva Agrawal](https://cerebralvalley.ai/u/imapoorva), [Harsh Agarwal](https://cerebralvalley.ai/u/harshagw)
- **GitHub:** https://github.com/harshagw/kahani
- **Demo video:** https://youtu.be/w-WE4QWxyyo
- **Gallery:** https://cerebralvalley.ai/e/google-deepmind-bangalore-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/google-deepmind-bangalore-hackathon/hackathon/gallery/67

Kahani is a browser-based adventure game where a player's one-line idea is expanded into a full "game bible": a mystery with 3 NPCs, 3 guarded clues, and fail states. The overworld is generated screen-by-screen using NB as the player walks: each screen is painted, then the image model traces borders over its own frame so a second pass can read both images into precise interactive hotspots (buildings, items, actions) — an infinite, seamlessly-stitched pixel-art world. Dialogue is voiced (Gemini TTS) and refereed live: rude or reckless choices raise a heat meter and can turn NPCs hostile, closing off clues. The run ends in either a victory finale (all 3 clues resolved) or a defeat finale (heat maxes out).

---

Markdown version of https://cerebralvalley.ai/e/google-deepmind-bangalore-hackathon/hackathon/gallery/67. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
