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 library of simple two-player arcade games that run entirely in the browser
with no server. Two phones exchange moves ("orders") directly, by sound
(ggwave) or by QR code. The two channels
are interchangeable, so a noisy room or a broken camera never blocks a game.
Hosted on GitHub Pages as a PWA: install it to the home screen and every page,
including the games, keeps working with no network at all.
Every game saves after each move and offers the other player's side as a QR
code, so the second phone can pick a match up mid-game by scanning it on the
Resume screen instead of starting over.檢視完整 README ↗A library of simple two-player arcade games that run entirely in the browser with no server. Two phones exchange moves ("orders") directly, by sound (ggwave) or by QR code. The two channels are interchangeable, so a noisy room or a broken camera never blocks a game.
Hosted on GitHub Pages as a PWA: install it to the home screen and every page, including the games, keeps working with no network at all.
Every game saves after each move and offers the other player's side as a QR code, so the second phone can pick a match up mid-game by scanning it on the Resume screen instead of starting over.
Requires Deno 2.x.
deno task setup # installs the git hooks (run once after cloning)
deno task dev # builds to dist/ and serves it at http://localhost:8443, rebuilding on change
deno task check # fmt check + lint + type check
deno task test # unit tests
deno task build # production build to dist/
deno task e2e # build, then drive the pages in headless Chromium with fake
# devices, and confirm every page still loads offline
deno task determinism # replay a game's golden checksum in Chromium, Firefox,
# and WebKit
e2e needs a Chromium (deno run -A npm:playwright install chromium);
determinism needs all three engines
(deno run -A npm:playwright install chromium firefox webkit).
The pre-commit and pre-push hooks run check and test.
Open /diag.html on two devices to send a message between them by sound or QR,
or /handshake.html?role=host on one and /handshake.html?role=guest on the
other for a full call, reply and ack round. Browsers only allow the microphone
and camera on secure origins, so for local testing over Wi-Fi the dev server
needs a certificate. With mkcert:
mkdir -p .certs
mkcert -cert-file .certs/cert.pem -key-file .certs/key.pem localhost 192.168.1.10
deno task dev # now serves https on port 8443
Replace the IP with your machine's LAN address and install mkcert's root CA on each phone. The deployed GitHub Pages site is already HTTPS.
Pushes to main build and deploy to GitHub Pages via
.github/workflows/pages.yml.