All projects

Portfolio brief

2048 game

Pure logic, no library

Intermediate ~12 hours

The brief

Implement the grid, the merge rules, keyboard controls, scoring and a game-over state from scratch.

Requirements

All of these have to be true before you call it done.

  • 4x4 grid with correct merge rules
  • Arrow key and swipe controls
  • Score and best score
  • Win and game-over states

Milestones

Tick these off as you go — it's only for your own sense of pace, and they're saved to your account.

Submit your work

Links are optional. The notes are not — explain your decisions to receive automated feedback on your write-up. Your repository and live application are not inspected.

Sign in to submit this project and keep the feedback.

Sign in