尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證First person shooter based in the Russia Ukraine war, ray traced live in the browser with WebGPU at 10 cm voxels.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A front-line trench at dusk, ten centimetres to the voxel, ray traced live in your browser.
You hold a fire bay on the shoulder of a dry ravine. Across fifty metres of shelled ground is another line exactly like yours. Dusk falls into night:
Every wall, sandbag and duckboard is made of 10 cm voxels. A shell cuts into the ground you were counting on, and you dig yourself back out.
Play it at lordjord78.github.io/Voxel-Trench-Warfare, in a desktop browser with WebGPU: Chrome or Edge 113 or later, or Safari 26. Where WebGPU is missing, the page shows a video of the game instead. Click to play; the mouse looks around.
Up to eight players, Red against Blue:
The rooms run on a small Cloudflare Worker (server/). Everyone needs a desktop browser with WebGPU, and the same version of the page (reload if the lobby says otherwise).
| Keys | |
|---|---|
| W A S D | Move |
| Shift | Sprint |
| Space | Jump; stand up from crouching or lying down |
| C / Z | Crouch / go prone |
| W into the bench | Climb onto the firing step |
| W + Space at a wall | Climb over it: out of the trench, over the parapet or the parados |
| Q | Periscope, on a firing step |
| Left mouse | Fire |
| R | Reload |
| F, held | Dig out loose earth |
| Esc | Pause: quality, mouse sensitivity, field of view, the time of day and how fast it passes, incoming fire |
| F3 | Frame timings |
TypeScript and raw WebGPU, with no engine:
npm run safari) and reports.With Node 22.12 or later:
npm install
npm run dev # the dev server
npm test # unit tests
npx playwright test # GPU tests, in Chrome with WebGPU
npm run build # the static site, in dist/
The build works from any path. The Pages workflow tests it, builds it and publishes it to GitHub Pages on a push to main.
The design is in six specs, from the world to the showcase and playing it together. The build plans are in docs/superpowers/plans/.
The original Python/Ursina game lives in reference/python/. It stays runnable, and its tests stay green, until the web version has ported everything it does. The web game's movement has since gone its own way (climbing out of any trench, the firing step only on the bench, no getting stuck); the parity tests still replay Python's recorded scenarios, on Python's own numbers, with those additions off. Run it from that folder with the repo's virtual environment:
cd reference/python
../../.venv/bin/python -m trenchline # play
../../.venv/bin/python -m pytest # 283 tests