尚未收集儲存庫資訊。
尚未偵測到更新。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.