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,即可验证所有权并自行管理介绍。
一分钟完成验证Poker website to help with chip denominations, track buy ins, and track player statistics
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A tracker for home poker games: accounts with admin approval, friends, guest
players, chip-set-aware buy-in calculation, live session tracking, and a
leaderboard.
• Next.js 16 (App Router, Turbopack)
• Postgres via Docker Compose (local dev), Prisma 7 as the ORM
• NextAuth (Auth.js) v5 with a credentials (email/password) provider
The seed script creates an admin user from these env vars (with fallbacks
baked in for local dev):查看完整 README ↗A tracker for home poker games: accounts with admin approval, friends, guest players, chip-set-aware buy-in calculation, live session tracking, and a leaderboard.
npm install
docker compose up -d # starts Postgres on localhost:5433
npm run db:seed # creates the first admin account
npm run dev # http://localhost:3000
The seed script creates an admin user from these env vars (with fallbacks baked in for local dev):
[email protected] ADMIN_PASSWORD=yourpassword ADMIN_NAME="Your Name" npm run db:seed
If you don't pass them, it defaults to [email protected] /
changeme123 — log in and change the password by re-running the seed with a
real password once auth includes account settings (not built yet).
docker compose up -d — start local Postgres (data persists in a Docker volume)npx prisma migrate dev --name <description> — create + apply a migration after editing prisma/schema.prismanpm run db:studio — Prisma Studio, a GUI for browsing/editing tablesPostgres runs on port 5433 (not 5432), since this machine already has a Homebrew Postgres service bound to 5432.
Needs the local Postgres container running (docker compose up -d). Tests use
their own throwaway database (poker_home_games_test, created and migrated
automatically) and refuse to run against anything that isn't a local *_test
database, so they never touch your dev or production data.
| Command | What it runs |
|---|---|
npm test | Unit + API tests (Vitest, ~10s) |
npm run test:unit | Pure logic only: chip calculator, leaderboard/streaks, money, no database |
npm run test:api | Every API route and the leaderboard query against the test database |
npm run test:e2e | Browser tests (Playwright): builds the app and clicks through the real UI on port 3100 |
npm run test:all | Everything |
Re-running browser tests without rebuilding: E2E_SKIP_BUILD=1 npm run test:e2e.
First-time setup on a new machine: npx playwright install chromium.
Covered: signup/approval/login/roles, admin queue and account management,
guest merging (into accounts or other guests), friends and suggestions, the player picker, chip sets and the chip plan,
creating/joining/running/closing/deleting games, rebuys and cash-outs
(including $0), multi-table seating (9 max), account settings, and the
leaderboard (sorting, streaks, guests). The known gaps test in
tests/e2e/admin.spec.ts documents a real issue and is expected to fail until fixed.
/signup (email/password) — it's created with PENDING status./admin/requests and approves or rejects.APPROVED users can access the app; PENDING users are shown a waiting page.This is the foundation: auth + admin approval are fully wired up. Friends,
games (chip-set calculator, live buy-in/rebuy/cashout tracking), and the
leaderboard are scaffolded as placeholder pages/nav links and still need to
be built out — the data model for all of it already exists in
prisma/schema.prisma.