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。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A realtime multiplayer web game. Create a room, share the 5-letter code, and bid against your friends on anime characters in open ascending auctions (a late bid extends the timer to 5 seconds). When every round is done, the team with the highest total power wins.
| Path | Purpose |
|---|---|
packages/shared | Types, zod schemas and the socket event contract used by both apps |
apps/backend | Express + Socket.IO game server; all game logic lives here |
apps/frontend | Next.js UI; renders the state it receives and sends intents |
data/characters.json | Characters and their (placeholder) power values |
Design: docs/superpowers/specs/2026-10-08-anime-bid-battle-design.md.
npm install
cp apps/frontend/.env.example apps/frontend/.env.local
npm run dev:backend # http://localhost:4000
npm run dev:frontend # http://localhost:3000
Open two browser windows to play against yourself.
npm test # unit + socket integration tests
npm run typecheck
Players are not told how strong a character is. The backend never sends a character's power to clients during the lobby or the auction; it is revealed for everyone at the Battle phase (apps/backend/src/game/view.ts).
The room plays the tracks listed in apps/frontend/public/music/playlist.json in a loop, starting from a random one (volume, mute and skip are separate from the sound effects). Put each audio file next to the playlist and list it as { "title": "...", "file": "name.mp3" }. A file that is missing or fails to load is skipped. Only add music you have the right to use: anything in public/ is served to everyone who opens the site.
Images are static files at apps/frontend/public/characters/<id>.jpg (named by character id from data/characters.json). A missing file shows a placeholder card. To (re)fetch them from AniList:
node scripts/fetch-character-images.mjs # dry-run: prints what would be downloaded
node scripts/fetch-character-images.mjs --download # saves the images and SOURCES.md
Character artwork belongs to its respective rights holders; this is a non-commercial game for friends.
The game server needs a long-lived Node process for WebSockets and in-memory rooms, so it cannot run on Vercel's serverless functions. Deploy:
apps/frontend, and set NEXT_PUBLIC_SOCKET_URL to the backend's public URL (e.g. https://abb-backend.example.com).npm installnpm run start -w @abb/backendCORS_ORIGIN = your Vercel URL (comma-separate multiple origins); must list exact origins (scheme + host, no trailing slash, e.g. https://my-app.vercel.app); * is not supported as a wildcard. PORT is normally provided by the host.GET /healthFree hosts often sleep idle services (the first visit is slow) and rooms live in memory, so a restart ends active games. RoomStore is an interface so Redis can replace it later.
AuctionMode (apps/backend/src/auction/types.ts), register it in createAuctionModes(), and add its name to AUCTION_MODE_NAMES in packages/shared.computePower() in apps/backend/src/characters/power.ts.CharacterSource and pass its characters to createApp().