Udipta Basumatari
18 Days: Kurukshetra logo

Mahabharata strategy card game

18 Days: Kurukshetra

A browser card battler built on the Mahabharata. One pure rules engine drives the player, the opponent and the tests, so they can never disagree.

3
AI agent systems
1,500+
AI co-written commits
1,000
AI-vs-AI test matches
Screenshot of 18 Days: Kurukshetra

The AI in it

  • Multi-agent build: Claude, Codex, Antigravity
  • Agentic AI opponent
  • AI-versus-AI playtesting
  • Generative AI art and story

Three AI agent systems ship this game together, with one person directing them.

How it is built

  • AI and AI agents
  • Platform and people
AI AGENTAgent teamClaude, Codex, AGV1AIGenerative artcards and story2Rules engineone pure reducer3AI AGENTAI opponentplays ahead4AI AGENTAI playtestersAI versus AI5Online playCloudflare6Your boardvisuals, sound7AccountsD1 database8AI AGENTAgent teamClaude, Codex, AGV1AIGenerative artcards and story2Rules engineone pure reducer3AI AGENTAI opponentplays ahead4AI AGENTAI playtestersAI versus AI5Online playCloudflare6Your boardvisuals, sound7AccountsD1 database8
  1. 1
    Agent teamAI agent

    Claude, Codex and Antigravity build the game in parallel, each owning a lane.

  2. 2
    Generative artAI

    Generative AI creates card art and story, grounded in the Mahabharata.

  3. 3
    Rules engine

    A single deterministic engine decides what every move does.

  4. 4
    AI opponentAI agent

    An agentic opponent plays out possible futures and chooses its strongest line.

  5. 5
    AI playtestersAI agent

    Automated players fight each other across thousand-match runs to test the game.

  6. 6
    Online play

    Matches, invites and ratings run on the edge.

  7. 7
    Your board

    The board, effects and sound read from the engine log.

  8. 8
    Accounts

    Progress and matches are saved in a cloud database.

See it in the 3D room →