|
Some checks failed
Build / build (push) Failing after 19s
Added real-time tracking of fuel consumption from linear and angular thrust. **Modified: src/shipPhysics.ts** - Added GameStats import and _gameStats property - Added setGameStats() method to receive GameStats instance - Call gameStats.recordFuelConsumed() after each fuel consumption - Tracks both linear thrust (forward/backward) and angular thrust (rotation) - Records exact consumption amounts (0.005 max per frame for each) **Modified: src/ship.ts** - Wire up physics system with GameStats via setGameStats() - Called immediately after physics initialization The Fuel Consumed statistic now updates in real-time on the status screen, accumulating all fuel used for movement and rotation, displayed as a percentage. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| docs | ||
| public | ||
| scripts | ||
| server | ||
| src | ||
| themes/default | ||
| .gitignore | ||
| CLAUDE.md | ||
| CONTROLLER_THRUST.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| styles.css | ||
| tsconfig.json | ||
| vite.config.ts | ||