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。 以下為已儲存的摘錄。
A live marble-racing betting game for team video calls. The host screen-shares a 3D physics race; everyone else bets Marble Bucks from their phone. The lowest finishers are knocked out each race until one marble is crowned champion.檢視完整 README ↗A live marble-racing betting game for team video calls. The host screen-shares a 3D physics race; everyone else bets Marble Bucks from their phone. The lowest finishers are knocked out each race until one marble is crowned champion.
Odds are pari-mutuel: each market is one pot, and everyone who bet on a winning option splits it in proportion to their stake, so odds move as money comes in. A small virtual seed on every option keeps early odds sane.
Music and sound effects play on the host's machine only — when sharing on Zoom, tick Share sound. Each theme has its own generated soundtrack (calm while betting, full band while racing, a lead line near the finish), plus countdown beeps, crowd cheers, boost whooshes, a rolling rumble that follows the marbles' speed, and fanfares. Mute/volume is in the host's top bar. To use your own music, see public/music/README.md.
.env.local.example to .env.local (or .env) and fill in the Project URL and publishable key.supabase/migrations/*_init.sql in the dashboard SQL Editor, or supabase link --project-ref <ref> && supabase db push.npm install && npm run dev, then open http://localhost:3000.Tip for testing alone: each *.localhost subdomain gets its own anonymous player, e.g. host on localhost:3000 and players on p1.localhost:3000, p2.localhost:3000.
Push to GitHub and import it into Vercel, adding the two NEXT_PUBLIC_SUPABASE_* env vars. The QR code uses whatever URL the host screen is served from.
| Path | What |
|---|---|
lib/race/track.ts | Seeded procedural track: banked S-bends, helixes, spinners, pegs, boost pads |
lib/race/engine.ts | Rapier physics race: progress, standings, checkpoint/lead/finish events. Deterministic per seed |
lib/race/renderer.ts, runner.ts | three.js view, camera director, slow-mo, animation loop |
lib/game/director.ts | Host-side race control: locks betting, opens/settles live props, eliminates, advances rounds |
lib/game/odds.ts | Pari-mutuel odds (mirrors private.settle_market in SQL) |
supabase/migrations/ | Schema, RLS and RPCs. Clients only read tables; all writes go through host/player-checked functions |
components/host/HostGame.tsx | The screen-shared host view |
components/play/PlayGame.tsx | The phone view |
/sandbox | Race-only page for tuning tracks and cameras without a backend |
npm test runs the odds and race-engine tests (headless physics).