2048 Game

This is my implementation of the classic 2048 puzzle game, built in Java with Swing. Players move tiles on a grid to merge matching numbers, aiming to reach the 2048 tile.

I structured the project using OOP principles with separate classes for the game board, tiles, and controller logic. The GUI was built with Swing, keeping the original text-based version intact for testing.

Features include:

  • Full sliding & merging logic for all directions
  • Game-over detection
  • Simple but clean Swing-based interface
  • Code structured with MVC principles