尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Browser motorbike combat racer. Race on open highways, punch and kick rivals off their bikes, play from a link in 5 seconds.
Play at throttlebike.com. The repo and code still use the short name throttle.
The hosted build is on Vercel at www.throttlebike.com (throttlebike.com redirects there). Open it on a phone, then add it to the home screen. After the first visit it keeps working offline. GitHub Pages is not used.
npm install
npm run dev # local dev server with hot reload
npm run check # typecheck and tests
npm run build # hosted PWA build in dist/
npm run build:single # one self-contained HTML file in dist-single/ for test links
Add ?debug to the URL to expose window.__game and window.__host for testing.
| Action | Keyboard | Phone | Gamepad |
|---|---|---|---|
| Steer | Left, Right (or A, D) | Hold the left pad, slide further to turn harder | Left stick or d-pad |
| Throttle | Up (or W) | Automatic | Right trigger |
| Brake | Down (or S) | BRAKE | Left trigger |
| Punch | J (or Z) | PUNCH | X |
| Kick | K (or X) | KICK | A or B |
| Swing weapon | L (or C) | Weapon button, shown when you hold one | Y |
| Pause | P or Esc | Pause button, top center | Start |
| Mute | M | Settings | |
| Confirm on menus | Enter or Space | Tap | A |
Start with AGENTS.md. It has the setup, the rules and the task workflow for people and coding agents.
| Doc | What it holds |
|---|---|
| docs/PLAN.md | Product plan and the 4 phases |
| docs/TASKS.md | Task board with IDs, owners, status and acceptance criteria |
| docs/ARCHITECTURE.md | Layers, how a race runs, how to add a track or bike |
| docs/DECISIONS.md | Decisions and the reasons behind them |
| docs/PLAYTEST.md | Phase gates and how to run a playtest |
Size: about 78 KB gzipped including React. 29 tests, including a bot that finishes a race on every track.