Files
tiennm99 4e452dfe19 docs: complete Epic 1 review, create story 2.1 best score tracking
Epic 1 code review passed with 0 patches needed — all 6 stories
marked done. 6 deferred items logged for Epics 2-5. Created story
2-1-best-score-tracking as ready-for-dev to begin Epic 2.
2026-04-13 22:28:15 +07:00

1.0 KiB

Deferred Work

Deferred from: code review of Epic 1 (2026-04-13)

  • Best score always 0, never tracked — UI displays "BEST: 0" that never updates. Covered by Story 2-1 (Best Score Tracking).
  • Tile keyed by position, not identityGrid.svelte keys tiles by r-c grid position instead of unique tile ID. Will break slide/merge animations. Address in Epic 3 (animations).
  • No animation lock for rapid key input — No debounce or move-in-progress guard in handleKeydown. Synchronous now but will need a lock when animations are added in Epic 3.
  • Grid 500px overflow on narrow viewportsGrid.svelte hardcodes containerSize = 500. Overflows on mobile. Covered by Story 4-3 (Responsive Layout).
  • Tile font overflow for very large values — 3-tier font sizing (55/45/35px) exists but values beyond 8192 (6+ digits) may overflow the 106px cell at 35px. Epic 5 polish.
  • Overlay has no keyboard focus trapGameMessage.svelte does not trap focus or auto-focus the action button. Accessibility improvement for post-MVP.