尚未检测到更新。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