/2048Game

2048 Game is a simple game for beginners how are new in the world of coding and want to enjoy, thank you

Primary LanguageJavaScript

2048 Game

This project is a web-based implementation of the popular 2048 game, created using HTML, CSS, and JavaScript. The goal of the game is to slide numbered tiles on a grid to combine them and create a tile with the number 2048. This version includes smooth animations, a glowing effect when the game is over, and a high-score table to track your progress.

Features

Classic 2048 Gameplay: Traditional sliding tile mechanics with a 4x4 grid. High-Score Table: Tracks the highest scores to keep a record of your best games. Automatic Restart: After the game is over, the board resets automatically for a new game. Keyboard Controls: Use arrow keys to control the movement of the tiles. Responsive Design: Works well on desktops and tablets with varying screen sizes.

Technologies Used

HTML5: For structuring the webpage. CSS3: For styling, layout, and animations. JavaScript (ES6): For implementing game logic and DOM manipulation.