Commit Graph

2 Commits

Author SHA1 Message Date
Brian Fertig 2aabbb158a refactor DotDude: standardize grid to 10x15 and overhaul movement logic
- Reduce playfield from 20x15 to 10x15 tiles (60x60px) and center in canvas
- Replace raw pixel math with tile-based coordinate helpers (`_px`, `_py`, `_col`, `_row`)
- Rewrite player movement to use hard-snap alignment and tile-center turning thresholds
- Switch ghosts to tile-target-based navigation with `_pickNextTarget` and distance checks
- Update layout to a symmetric 10-column maze with ghost house and corridors
- Redraw HUD and background for the new layout dimensions
2026-05-09 12:48:26 -06:00
Brian Fertig b6002fed00 First Commit 2026-05-09 10:55:56 -06:00