diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..a35264b --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,372 @@ +# CLAUDE.md + +Guidance for Claude Code (and any AI assistant) working in this repository. + +NULL_STATE is a real-time, top-down dungeon crawler on Celo, built to run inside +MiniPay. Playing is free; only Marketplace/Season Pass purchases settle on-chain, +and USDT rewards are paid out from the Treasure Vault, Leaderboard and Season +Pass. Next.js 14 App Router + React 18 + TypeScript on the outside, a vanilla +Canvas2D engine on the inside. + +--- + +## 1. The one thing to understand first: two worlds, one boundary + +This repo contains **two codebases that cannot import from each other.** + +| | The shell | The engine | +|---|---|---| +| Where | `app/`, `components/`, `lib/`, `hooks/` | `public/game-engine/*.js` | +| What | Next.js App Router, React, TypeScript | 14 plain `