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 Dota 2 stats site built on the public OpenDota API. Every player, match, hero, team and league has its own page, and each one links to the others.
Live site: https://dotaboost-assignment.vercel.app/
/): the top 10 players by ranked MMR or Turbo rating, plus live games, the latest pro matches and the strongest heroes./players/[id]), with filters for period, patch, hero, game mode, lobby, lane, side and result that are kept in the URL:
/matches/[id]): scoreboards with items, draft, gold/XP advantage graphs, item builds and chat. Unparsed matches can request a replay parse./matches): pro and public match feeds with load-more paging./live): games in progress, refreshed every 30 seconds./heroes, /heroes/[id]): win and pick rates per rank bracket, and per-hero matchups, item popularity and timings, benchmarks, top players and pro matches./pros, /teams, /teams/[id], /leagues and /leagues/[id]./records): all-time single-match records./meta): rank distribution, team scenario win rates and a hero combo match finder.react-query-ease (typed Axios client)Requires Node.js 20+ and pnpm. No API key or environment variables are needed.
pnpm install
pnpm dev
Open http://localhost:3000.
| Command | What it does |
|---|---|
pnpm dev | Start the dev server |
pnpm build | Production build |
pnpm start | Serve the production build |
pnpm lint | Run Biome checks |
pnpm format | Format the code with Biome |
Components used by one route live next to it in a private _components folder. Anything shared by two or more routes lives in src/components.
src/
├── app/
│ ├── _components/ # Home page sections (leaderboard, strips)
│ ├── players/[id]/ # Player layout + tab routes, _components, _hooks (filters)
│ ├── matches/ # Feeds; [id]/ is the match page
│ ├── heroes/ # Hero meta; [id]/ is the hero page
│ ├── teams/ leagues/ pros/ # Pro scene pages
│ └── live/ records/ meta/
├── components/ # Shared components (links, tables, cards, nav)
│ └── ui/ # shadcn/ui primitives
├── hooks/ # Shared React hooks (useDebounce, useShowMore)
├── lib/
│ ├── api/ # API client, endpoints, response types, query hooks
│ ├── dota.ts # Win rate, formatting, image and lane-role helpers
│ ├── hero-stats.ts # Picks and wins per rank bracket
│ ├── rank.ts # Rank tier → medal label and icon
│ └── steam.ts # Steam32/Steam64 ID parsing
└── providers/ # React Query provider
docs/
└── OPENDOTA_API_CONTRACTS.md # OpenDota OpenAPI spec (JSON) for reference
All data comes from https://api.opendota.com/api and is fetched on the client. Endpoints used:
/topPlayers, /search, /players/{id} and its /wl, /recentMatches, /matches, /heroes, /peers, /pros, /totals, /counts, /histograms/{field}, /wardmap, /wordcloud, /ratings, /rankings, POST /refresh/matches/{id}, /proMatches, /publicMatches, /findMatches, POST /request/{match_id}, /request/{jobId}, /live/heroStats, /heroes/{id}/matchups, /heroes/{id}/durations, /heroes/{id}/itemPopularity, /heroes/{id}/matches, plus /rankings, /benchmarks, /scenarios/itemTimings and /scenarios/laneRoles with ?hero_id=/proPlayers, /teams, /teams/{id} and its /matches, /players, /heroes, /leagues, /leagues/{id} and its /matches, /teams/records/{field}, /distributions, /scenarios/misc, /constants/{resource}Not used: /health, /schema, /explorer, /metadata, /parsedMatches, /heroes, /heroes/{id}/players and /leagues/{id}/matchIds. They are infrastructure endpoints, return too little to show (/parsedMatches is only match IDs, /heroes/{id}/players has no names), or duplicate data from the endpoints above.
The free OpenDota tier is rate-limited, so heavy use can return errors. The retry buttons cover this.
pnpm format && pnpm lint.feat: add hero filter).