| Server IP : 167.235.67.158 / Your IP : 216.73.216.95 Web Server : Apache System : Linux ubuntu-8gb-nbg1-1 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : upstairsbar.co.uk ( 982) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/bc.the-word.com/bowling/ |
Upload File : |
# CLAUDE.md — Hackathon Phaser Game ## IMPORTANT Code style - Use Phaser best practices: object pooling for bullets/enemies/particles; no per-frame object creation; reuse vectors/Rect; disable off-screen physics bodies. - Keep update loops lean: avoid array allocations/forEach in hot paths; prefer indexed loops; cache lookups. - Make sure we use the layers correctly to have assets rendered on the correct layers. ## Workflow (Claude, think harder before coding) 1) **Explore**: Read `index.html` Do NOT write code yet. **think harder**. 2) **Plan**: Propose a TODO list in `TODO.md` with small, verifiable steps. 3) **Implement**: Create function/class stubs first with `// TODO:` markers, then fill in. > Use subagents to verify Phaser APIs and performance choices early. Keep iterations small. ## When done - Re-read `TODO.md` and all inline `TODO:`s. Do not stop until all are resolved or explicitly deferred with rationale.