fix: backgammon gameplay — working buttons, correct canvas rendering, no DPR bugs
- Remove DPR ctx.scale() that compounded every frame and broke all rendering
- Use logical pixel dimensions directly (canvas.width = logical size)
- Fix isSel/isValid closures that caused undefined reference errors in checker glow
- Simplify game scene: roll button is now a normal element in .bgg-controls (not overlay)
- Event handlers correctly scale click coords via rect ratio
- Remove unused getCheckerScreenPos import from move-animator
- All buttons (roll, double, emote, quit) bind via addEventListener properly
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
This diff is collapsed.
Please register or sign in to comment