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 browser-based chess game with a 3D perspective board and an AI opponent with selectable difficulty levels.查看完整 README ↗A browser-based chess game with a 3D perspective board and an AI opponent with selectable difficulty levels.
three-bvh-csg), a cosy study backdrop, orbit/zoom controls, and move / capture / castling / promotion animationsNo backend — it's a fully static, client-side app.
Requires Node.js (LTS).
npm install
npm run dev
Then open the printed http://localhost:5173 link in your browser.
npm run test # run the unit test suite (Vitest)
npm run typecheck # type-check without emitting
npm run build # production build -> dist/
npm run preview # preview the production build locally
src/
core/ chess.js wrapper + localStorage persistence: game state, moves, check/mate/draw detection
ai/ minimax + alpha-beta, evaluation, difficulty presets, Web Worker entry point
render/ Three.js scene, board/piece meshes (lathe profiles + knight), picking, highlights, animation
ui/ plain HTML/CSS overlay (difficulty select, move list, captured tray, promotion picker, banners)
controller/ wires core + ai + render + ui together
tests/ Vitest unit tests (rules wrapper, AI move legality, mate-in-1, evaluation)
Hosted on GitHub Pages at https://fidgetrope.github.io/chess/ . The
Deploy to GitHub Pages workflow runs on every push to main: it runs the
test suite, builds with Vite, and publishes dist/. vite.config.ts sets base: '/chess/' so asset URLs
resolve under the project-pages path.
To update: commit and git push — the workflow redeploys automatically.
Pieces and board are built from code, so there is no piece-art attribution to track. chess.js is BSD 2-Clause —
its copyright notice stays in node_modules; no other obligation.