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 playable recreation of the classic WWII grand-strategy wargame Third Reich, built to run in any modern web browser. It is meant to be easy for anyone to pick up: open a link, no install, no CD-ROM. The main mode is one player against the computer, choosing either side.
Status: early. The real combat results, attrition, terrain, cost and modifier tables from the original game are encoded and tested. The full map is digitised and shown in the browser. Units on the map and most procedures are not built yet. See docs/ROADMAP.md.
Requires Node 20+.查看完整 README ↗A playable recreation of the classic WWII grand-strategy wargame Third Reich, built to run in any modern web browser. It is meant to be easy for anyone to pick up: open a link, no install, no CD-ROM. The main mode is one player against the computer, choosing either side.
Status: early. The real combat results, attrition, terrain, cost and modifier tables from the original game are encoded and tested. The full map is digitised and shown in the browser. Units on the map and most procedures are not built yet. See docs/ROADMAP.md.
npm install
npm run dev # play locally at http://localhost:5173
npm test # unit tests
npm run build # static build in dist/ — works from any folder or web host
Checks that CI also runs:
npm run lint # ESLint (flat config); src/ files stay at or under 300 lines of code
npm run typecheck # app, engine (no DOM, no Node) and e2e configs
npm run coverage # unit tests plus the coverage floor for src/engine
npm run e2e # builds a test bundle (dist-e2e, with the test-only game loader), then Playwright browser tests against `vite preview` (mouse and touch)
npm run selfplay -- --scenario 1939 --turns end --seed 1 # headless computer-against-computer game with reports (docs/SELFPLAY.md)
npm run e2e needs a Chromium: run npx playwright install chromium once, or set PW_CHROMIUM_PATH to an installed one.
Requires Node ^20.19 || ^22.13 || >=24 (set in engines; CI uses Node 22).
docs/SOURCES.md; keep the files outside the repo). Cite the section in code comments, e.g. // Ref 12.4.TODO(verify) and list it in docs/RULES.md under Open questions.tsconfig.engine.json and tests/engine-purity.test.ts. Files under src/ stay at or under 300 lines of code, enforced by ESLint max-lines. The UI and the computer opponent change the game only through legalActions and applyAction.npm run lint && npm run typecheck && npm test && npm run build before pushing; CI also enforces the engine coverage floor and the browser smoke test (npm run e2e). Commit as [email protected].Unofficial fan project, not affiliated with or endorsed by Avalon Hill or Hasbro. Third Reich and Avalon Hill are trademarks of their respective owners. This is a private, non-commercial tribute to the 1996 PC game.
src/data/map.json) was measured from the original printed reference map: terrain, borders, city names and positions. It is the one part derived from the original publisher's artwork, so it is the first thing to replace if this project ever goes public.This is a note about intent, not legal advice.