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 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
WorldCup is a team-picking leaderboard game for the FIFA World Cup 2026.
Each user chooses exactly 3 teams before the tournament starts. Those teams earn points after every match they play. The user's leaderboard score is the sum of the points earned by their selected teams.
The repository now includes a Next.js app with:檢視完整 README ↗WorldCup is a team-picking leaderboard game for the FIFA World Cup 2026.
Each user chooses exactly 3 teams before the tournament starts. Those teams earn points after every match they play. The user's leaderboard score is the sum of the points earned by their selected teams.
The repository now includes a Next.js app with:
final_points =
(result_base_points + goal_bonus_points + clean_sheet_bonus_points)
* team_coefficient
* stage_coefficient
Implemented in the Supabase Games project:
docs/
ARCHITECTURE.md
CRON.md
DATABASE.md
DEPLOYMENT.md
GITHUB.md
IMPLEMENTATION_PLAN.md
SCORING.md
src/
app/
components/
lib/
tests/
result-validation.test.ts
scripts/
generate-worldcup-sql.mjs
generate-worldcup-kickoff-sql.mjs
supabase/
migrations/
20260524094443_games_project_baseline.sql
20260601193000_worldcup_game.sql
20260601194500_worldcup_kickoff_cron_points.sql
20260601211500_worldcup_due_match_team_ids.sql
20260601224500_worldcup_team_pick_cutoff.sql
The local workspace is linked to the Supabase project named Games.
Project ref:
your-project-ref
worldcup_tournamentsworldcup_stagesworldcup_teamsworldcup_matchesworldcup_entriesworldcup_entry_teamsworldcup_referral_profilesworldcup_referralsworldcup_ticketsworldcup_wallet_transactionsworldcup_entry_match_pointsworldcup_match_team_pointsworldcup_entry_team_totalsworldcup_leaderboardworldcup_awarded_leaderboardThe production leaderboard view returns selected teams in Pick 1/2/3 order and includes each team's awarded point contribution.
Regenerate the base WorldCup migration:
node scripts/generate-worldcup-sql.mjs
Regenerate the kickoff/cron migration:
node scripts/generate-worldcup-kickoff-sql.mjs
Check migration history:
supabase migration list --linked
Run the web app:
npm install
cp .env.example .env.local
npm run dev
Run verification before shipping changes:
npm test
npm run typecheck
npm run lint
npm run build
Required runtime values:
NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
SUPABASE_SERVICE_ROLE_KEY
ADMIN_RESULT_SECRET
CRON_SECRET
Server routes that use SUPABASE_SERVICE_ROLE_KEY must only run on trusted server infrastructure.
Private player/account tables are not directly readable or writable with the browser anon key; user
entry creation, admin reports, ticket assignment, and wallet transfers go through server routes.
The coefficients are intentionally stored as fixed tournament values so the game remains fair after the competition begins.