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,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
Chess with power-ups and secret handicaps, at nerfchess.com. Next.js 16 on Cloudflare Workers (OpenNext), D1 for accounts and social data, one Durable Object (worker.ts) for live games, Postgres through Hyperdrive for the finished-game archive.
Node 22 and npm. One command after cloning:
Then open http://localhost:3000. There is nothing else to set up:查看完整 README ↗Chess with power-ups and secret handicaps, at nerfchess.com. Next.js 16 on Cloudflare Workers (OpenNext), D1 for accounts and social data, one Durable Object (worker.ts) for live games, Postgres through Hyperdrive for the finished-game archive.
made with love <3
Node 22 and npm. One command after cloning:
npm ci && npm run dev
Then open http://localhost:3000. There is nothing else to set up:
.wrangler/state on the first request, and the schema is applied at runtime (src/lib/server/schema.ts).games table.next dev does not run the game-server Durable Object, so online games and the live lobby need npm run preview (a full OpenNext build served by wrangler) or production.Claude Code on the web installs dependencies on its own: .claude/settings.json runs .claude/hooks/session-start.sh, which runs npm ci when node_modules is missing or older than the lockfile.
| Command | What it runs | Needs |
|---|---|---|
npm run guard | Every cheap offline guard (em dashes, sentence case, buttons, radius, motion gates, sound, SEO static, API units, email, and more), about 20 seconds. Run it before you push. | nothing |
npm run typecheck, npm run lint | tsc and eslint over the repo | nothing |
npm run test:cls, npm run test:console | Layout shift and console ratchets in Chromium | dev server on :3000 |
npm run test:headers | Security and cache headers, and the custom background against the CSP | dev server on :3000 |
npm run test:e2e | Playwright specs in e2e/ | dev server, npx playwright install chromium |
CI (.github/workflows/guards.yml) runs typecheck, lint and npm run guard on every push and pull request. Seeded local accounts for browser checks: npm run polish:seed (see docs/polish-pass/LEDGER.md, HARNESS).
npm run deploy builds with OpenNext and deploys with wrangler. Plain-text vars live in wrangler.jsonc (a deploy rewrites them from that file); secrets are set with wrangler secret put NAME. The daily email job runs on the 0 13 * * * cron and stays dormant until its vars and secrets are set (see the comments next to them in wrangler.jsonc).
Design contracts: docs/design-system.md, docs/DESIGN.md, docs/animation-design-brief.md. Game server protocol: docs/game-server-protocol.md. Moderation: docs/moderation.md.