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.