Recognition

5th place regionally at Google AI Seekho 2026.

Team
  • Me
  • One more developer
  • One UI/UX designer
Action & ShooterHackathon

Threshold: Agentic AI Top-Down Shooter

A mobile top down roguelike shooter where AI adapts the difficulty, dungeon layout, enemy tactics and rewards to how each player plays. It combines regular procedural generation with a five agent AI pipeline, and falls back to local logic if AI is not available.

My roleDeveloper
Year2026
GenreAction & Shooter
PlatformsAndroid, with editor and PC for testing
ContextHackathon
  • Unity 6
  • C#
  • Unity AI Navigation
  • URP
  • Input System
  • Gemini
  • Groq
  • NVIDIA NIM

Case study

Role & contribution

What I built

I worked on the dungeon generation, the AI pipeline, enemy behaviour, the core gameplay loop and progression, with a second developer and a UI/UX designer.

  • Hybrid dungeon generation local code builds the room layout and checks it is reachable, while AI decides what each room is for
  • Five agents director, level generation, quality control, NPC brain and rewards
  • One bridge that works with Gemini, Groq and NVIDIA NIM, with retries and rate limit handling
  • Four enemy types with a tactical state machine for patrol, attack, flank, suppress and retreat
  • Defection system where badly wounded enemies can switch sides
  • Twin stick mobile controls, shooting, reload, health and pickups
  • XP, personalized challenges and cheat checks
  • A comparison mode between the adaptive AI and fixed rules

Features

Highlights

  • Procedurally generated floors
  • AI adjusted difficulty
  • Four enemy archetypes
  • Enemies that flank, suppress and switch sides
  • Boss, ambush and loot rooms
  • Works offline with local fallbacks
  • Mock AI mode for testing without API costs

Behind the build

Technical notes

  1. Spatial layout stays in local code, AI only assigns roles, so layouts are always valid

  2. Layout checks for reachability and matching doorways, with automatic repair

  3. Every AI response carries a reasoning trace that can be exported for debugging

  4. The game never stops if AI fails, it falls back to a playable local state