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。 以下为已保存的摘录。
Formerly Menoka Card Games. Database roles (menoka_app, menoka_purge), Neon project names and two browser storage keys keep the old name on purpose.
A mobile-first card-game tracker built with Next.js 16 and React 19. Poker is
the first supported game.查看完整 README ↗Formerly Menoka Card Games. Database roles (menoka_app, menoka_purge), Neon project names and two browser storage keys keep the old name on purpose.
A mobile-first card-game tracker built with Next.js 16 and React 19. Poker is the first supported game.
Each host signs in with an email magic link (Neon Auth) and gets a private
ledger: their own friend list, saved sessions and standings. Friends are names
in the host's list and do not need accounts. The in-progress game is kept in
the browser, scoped to the signed-in account, so a refresh does not lose the
current hand. Players and finished sessions are stored in Neon Postgres through
/api/players and /api/sessions, protected by server-side ownership checks
and row-level security.
npm install
npm run dev
Then open http://localhost:3005. The Claude preview
configuration in .claude/launch.json uses the same port.
Copy .env.example to .env.local. The app needs these three:
DATABASE_URL=<Neon connection string for the restricted menoka_app role>
NEON_AUTH_BASE_URL=<Neon Auth endpoint for the same branch>
NEON_AUTH_COOKIE_SECRET=<random secret, at least 32 characters>
The rest of .env.example (CRON_SECRET, PURGE_DATABASE_URL, NEON_API_KEY,
NEON_PROJECT_ID, NEON_AUTH_BRANCH_ID, HEALTHCHECKS_PING_URL) is only for
the daily account purge job, which runs in Vercel Production.
Never expose these values through NEXT_PUBLIC_ variables. Restart the
development server after changing them. Use an isolated Neon branch for
development; never point local development at production.
Discarding and restoring players or sessions is reversible. Permanent deletion is available only after an item has been discarded, only for the host's own data, and only within 10 minutes of signing in with a magic link. Otherwise the app offers to email a fresh sign-in link. Players connected to saved session history cannot be permanently deleted.
schema.sql is the complete current schema for reference and new databases.
Existing databases change only through the versioned files in migrations/,
rehearsed on an isolated branch first; see migrations/README.md.
npm run lint
npx tsc --noEmit
npm test
npm run build
app/ — App Router pages, auth callback, metadata, PWA manifest, styles and APIscomponents/poker-ledger.tsx — interactive home, player, and poker UIlib/poker/ — game rules, standings, accounting, shared types and API validationlib/auth/, lib/accounts/ — sign-in, recent sign-in checks and account lifecyclemigrations/ — versioned database migrations and data backfillsschema.sql — complete current Postgres schemascripts/ — operator helpers: split-migration.mjs turns a migration into the statement list the Neon MCP run_sql_transaction tool takes; neon-auth.mjs <branchId> get|harden|add-domain|no-localhost checks or locks down a branch's Neon Auth settings (reads NEON_API_KEY from .env.local, never prints it)test/ — Node test runner suites