No introduction needed, just take a look: Demo
-
Robust Game Logic - A pure JavaScript implementation of the classic 2048 mechanics.
-
Fully Responsive Interface - Adaptive grid layout that ensures a seamless gaming experience across multiplatform
-
Maintainable Architecture - Structured with SCSS (using the BEM methodology).
-
Score Persistence - Integrated logic to track and display the player's scores dynamically.
-
Tile Merging Algorithm - Sophisticated logic for handling tile collisions and value doubling.
-
Random Spawning - Intelligent generation of new tiles in available empty slots after each move.
-
Win/Loss Detection - Automated checks to determine when the 2048 tile is reached or no more moves are possible.
- HTML
- CSS
- SASS
- JS
- BEM Methodology
git clone https://github.com/yahohulia/2048_game.git
cd 2048_game npm install
# or
yarn install npm start
# or
yarn start