Skip to content

Adi-gitX/2048-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048 Game

A simple implementation of the classic 2048 game in HTML, CSS, and JavaScript.

Interface

Play the game here:

  • Clean and minimalistic design for a distraction-free gaming experience.
  • Use arrow keys to move tiles and merge them to reach the 2048 tile.
  • Current score and best score tracking for each session.
  • Responsive layout for playability on various screen sizes.

Installation

To run the 2048 game locally, follow these steps:

  1. Clone the repository from GitHub:

    git clone https://github.com/Adi-gitX/2048-Game.git
  2. Navigate into the project directory:

    cd 2048-Game
  3. Open the index.html file in your preferred web browser.

That's it! You can now enjoy playing the 2048 game locally on your machine.

Explore and Contribute

Feel free to explore the codebase and customize it to your liking:

  • Modify the styles in styles.css to change the appearance of the game.
  • Enhance the functionality in styles.js to add new features or game mechanics.
  • If you have suggestions or improvements, create an issue or submit a pull request on GitHub.

Challenge yourself and have fun playing 2048! 🎮🔢