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).