Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Chamuka Play — a vibe-coding playground where kids make their own games and learn by making
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A vibe-coding playground where kids make their own games, play them, tweak them in plain language, and keep them — and learn by making. Non-commercial, open source, self-hostable.
v1 is the kid game playground. The learning-focused features (predict-the-diff, explanation gate) and sharing come later — see
docs/specs/.
No signup, no accounts, no telemetry. Games persist in your browser.
Next.js 16 (App Router) · React 19 · TypeScript · Tailwind v4 + shadcn/ui ·
Vercel AI SDK v6 (ToolLoopAgent, useChat) · Claude via Anthropic or the
Vercel AI Gateway · Vercel Sandbox + Playwright for playtests · Zod 4 ·
Dexie/IndexedDB · Vitest + RTL.
npm install
cp .env.example .env.local # then fill in the values below
npm run dev # http://localhost:3000
Everything is optional — with nothing set, MOCK_AI=1 runs the whole studio
offline. See .env.example for the full list.
| Variable | Purpose |
|---|---|
AGENT_MODEL | The agent's model as a provider/model slug. Default anthropic/claude-sonnet-5.5. |
ANTHROPIC_API_KEY | Call Claude directly. Without it, anthropic/* models go through the Vercel AI Gateway. |
AI_GATEWAY_API_KEY | Gateway auth for local dev. On Vercel, OIDC handles it — no key needed. |
GOOGLE_GENERATIVE_AI_API_KEY | Call Gemini directly when AGENT_MODEL is a google/* model (also used by the idea chips). |
AGENT_EFFORT | Claude thinking effort: low · medium (default) · high · xhigh · max. |
PLAYTEST_SNAPSHOT_ID | Turns on real-browser playtests in Vercel Sandbox (see below). |
MOCK_AI=1 | No key at all — a scripted offline agent builds and edits a real demo game. |
Mishi tests every game it builds. With a sandbox snapshot configured, each test
boots an isolated Firecracker microVM, loads the game in headless Chromium, plays
it (the keys it chose, a tap, a phone-sized pass) and reports uncaught errors,
frame rate, blank screens and sideways scrolling — plus a screenshot that Claude
looks at. The VM can reach only cdn.jsdelivr.net, so untrusted generated code
can't phone home. Without a snapshot, games get a fast compile-only check.
vercel link && vercel env pull # gives the Sandbox SDK an OIDC token
npm run playtest:snapshot # installs Chromium in a sandbox, verifies, snapshots
# → put the printed PLAYTEST_SNAPSHOT_ID in .env.local and the Vercel project
npm run dev # dev server (Turbopack)
npm run build # production build
npm run start # serve the production build
npm run lint # ESLint
npm run test # Vitest (unit + component tests; the playtest harness runs in
# real Chromium when `npx playwright install chromium` was run)
npm run playtest:snapshot # one-time: build the Vercel Sandbox playtest snapshot
Import the repo on Vercel. The AI Gateway and Vercel Sandbox both authenticate
via OIDC in production, so no keys are needed there (add ANTHROPIC_API_KEY to
bill Anthropic directly instead). Set PLAYTEST_SNAPSHOT_ID to enable browser
playtests. The agent route runs on Fluid compute with a 300s budget per turn.
There is no database to provision — it is local-first (IndexedDB in the browser).
src/
app/ # routes + API handlers (/api/agent, /api/examples)
components/play/ # Shell, PlayView (studio), StudioChat, AgentStep, GamesDrawer…
lib/
agent/ # the game agent: protocol, tools, workspace, prompt, playtests
ai/ # model routing, find/replace edits, offline demo game
games/ # starter registry + system prompt
safety/ # kid prompt filter
diff/ # friendly change summary
storage/ # Dexie repository (game versions)
docs/ # product spec + implementation plan
MIT — see LICENSE.