/2048

🎮 HamDola-2048 is an Implementation of 2048 game (a single-player sliding block puzzle game with objective of combine the tiles to create a tile with the number 2048) by HamDola members ...

Primary LanguageJavaScriptMIT LicenseMIT

2048 logo

🎮 HamDola 2048

GitHub contributors GitHub issues GitHub forks GitHub stars GitHub license


🎈 🎮 HamDola 2048 (Click to try 🚀)


2048 is a single-player sliding block puzzle game The game's objective is to slide numbered tiles on a grid to combine them to create a tile with the number 2048, which is played on a gray 4×4 grid, with numbered tiles that slide smoothly..

when a player moves them using the four arrow keys.Every turn, a new tile will randomly appear in an empty spot on the board with a value of either 2 or 4. Tiles slide as far as possible in the chosen direction until they are stopped by either another tile or the edge of the grid.

If two tiles of the same number collide while moving, they will merge into a tile with the total value of the two tiles that collided. The resulting tile cannot merge with another tile again in the same move. Higher-scoring tiles emit a soft glow.

📷 ScreenShots









🕶 Demo