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 tycoon game about running a joinery workshop in the UK. This repository holds the prototype:
a pure simulation engine plus an intentionally ugly SVG prototype of the views.查看完整 README ↗A tycoon game about running a joinery workshop in the UK. This repository holds the prototype: a pure simulation engine plus an intentionally ugly SVG prototype of the views.
The design contract for the current stage is CLAUDE.md. The briefs of the finished stages are
archived in docs: docs/turn-1-brief.md, docs/turn-2-brief.md, docs/turn-3-brief.md,
docs/turn-4-brief.md, docs/turn-5-brief.md, docs/turn-6-brief.md, docs/turn-7-brief.md,
docs/turn-8-brief.md, docs/turn-9-brief.md, docs/turn-10-brief.md, docs/turn-11-brief.md,
docs/turn-12-brief.md, docs/turn-13-brief.md, docs/turn-14-brief.md, docs/turn-15-brief.md,
docs/turn-16-brief.md, docs/turn-17-brief.md, docs/turn-18-brief.md,
docs/turn-19-brief.md, docs/turn-20-brief.md, docs/turn-21-brief.md,
docs/turn-22-brief.md, docs/turn-23-brief.md, docs/turn-24-brief.md,
docs/turn-25-brief.md, docs/turn-26-brief.md, docs/turn-27-brief.md,
docs/turn-28-brief.md, docs/turn-29-brief.md, docs/turn-30-brief.md and
docs/turn-31-brief.md. The build reports are REPORT-T1.md to REPORT-T32.md.
The sprite contract between the art side and the game is docs/art/SPRITES.md; the art Turn 13
asks for is listed in docs/art/REQUESTS-T13.md, the art Turn 14 asks for in
docs/art/REQUESTS-T14.md, Turn 16's in docs/art/REQUESTS-T16.md, Turn 17's in
docs/art/REQUESTS-T17.md, Turn 19's in docs/art/REQUESTS-T19.md, Turn 20's in
docs/art/REQUESTS-T20.md, Turn 21's in docs/art/REQUESTS-T21.md, Turn 22's in
docs/art/REQUESTS-T22.md, Turn 23's in docs/art/REQUESTS-T23.md, Turn 25's in
docs/art/REQUESTS-T25.md, Turn 26's in docs/art/REQUESTS-T26.md, Turn 28's in
docs/art/REQUESTS-T28.md, Turn 29's in docs/art/REQUESTS-T29.md, Turn 30's in
docs/art/REQUESTS-T30.md, Turn 31's in docs/art/REQUESTS-T31.md and Turn 32's in
docs/art/REQUESTS-T32.md (Turns 24 and 27 asked for none).
npm ci
npm run dev
Then open the address Vite prints (http://localhost:5173 by default). Desktop only, 1280 px wide minimum.
npm test
npm run check
That runs npm run lint, npm run build (type check plus production build) and npm test.
Saving is off unless the build is given both VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY.
Without them there is no Sign in on the start screen, no Save in the Menu, and no network call is
made at all. With them, the start screen offers a magic link sign in and Continue, the Menu offers
Save now and Load, and slot 1 autosaves at the end of every day.
Run supabase/001_saves.sql in the Supabase SQL editor first. Nothing in the game applies it, and
until the table exists the game says saving is not ready rather than failing.
src/engine pure simulation. No DOM, no timers, no Date, no Math.random.src/render isometric projection helpers and SVG builders that read GameState.src/ui bootstrap, top bar, views and modals. Plain DOM, no framework.src/cloud the Supabase client and the saved games, behind the two environment variables.tests/engine unit tests per engine module.tests/scenarios scripted multi-day playthrough tests.Run npm run dev and work through this. It is the same path the jsdom smoke test
(tests/ui/app.test.ts) drives, so if the test passes, this should too.
The Menu has a Sprite check entry. It lists every sprite key the game can draw, with the footprint
the engine expects, the placeholder box, the picture beside it when there is a file, and the exact
canvas the art side has to hit. It is the acceptance page of docs/art/SPRITES.md.
Put delivered PNG files in public/sprites/, then run npm run sprites:manifest (the build runs
it first anyway). With no files the manifest is empty and the game draws its boxes as before.