Project overview
Game 2048 brings the classic puzzle to desktop and mobile with fluid controls and feedback.
A framework-agnostic TypeScript engine keeps game rules separate from React and animation.
A responsive 2048 puzzle game with smooth tile animations, undo support, persistent high scores, and touch-friendly controls.
Responsive 4x4 gameplay and score tracking.
Game 2048 brings the classic puzzle to desktop and mobile with fluid controls and feedback.
A framework-agnostic TypeScript engine keeps game rules separate from React and animation.
Keep movement, merging, scoring, and end states predictable.
Separate game rules from React rendering.
Provide responsive keyboard and touch controls.
Slide and merge tiles toward 2048.
Track the score and save the personal best.
Restore the last board or start again.
Animate movement, spawning, and merges naturally.
Challenge
Moving and merging tiles needed stable identities.
Decision
Mapped unique tiles to Framer Motion layout animations.
Challenge
UI-bound logic would couple gameplay to rendering.
Decision
Connected an independent store through immutable snapshots.