Skip to content

[Project Registration]: Token Defense #284

Description

@krishnan74

Discord Handle

@krish74

Idea Summary

Token Defense is a fully on-chain tower defense game built on StarkNet using the Dojo engine. Defend your AI base from waves of prompt injection attacks by placing towers and factories on a 12×8 grid.

Features:

  • 3 tower types — GPT (input tokens), Vision (image tokens), Code (code tokens) — up to 14 placed simultaneously; sell to free slots
  • 3 factory types — each producing a matching token type to power towers
  • 10 waves of escalating enemies: TextJailbreak, ContextOverflow, HalluSwarm, and Boss enemies on waves 5 & 10
  • Per-enemy on-chain simulation — wave resolution runs entirely in the contract using a sequential token-drain model; later enemies face weaker towers as tokens deplete
  • Token economy — towers consume tokens per shot; tier (Powered / Good / Low / Critical / Offline) determines fire rate and damage multiplier
  • Strategic mechanics — tower synergy bonuses, factory upgrades, overclock ability, wave modifiers, per-enemy traits, difficulty tiers
  • EGS compatible — implements IMinigameTokenData (score, game_over + batch variants); models keyed by token_id for Denshokan leaderboard integration
  • Cartridge Controller authentication with session key policies
  • Conveyor system — animated pixel-art conveyors connect factories to towers on the client

Team Members

@krishnan74

Looking for Members

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions