Skip to content

Repository files navigation

2048 Game

A classic 2048 puzzle game built with pure JavaScript, HTML, and SCSS. The objective of the game is to slide numbered tiles on a grid to combine them and create a tile with the number 2048.

Live Preview

You can play the live version of the game here:


Getting Started

To get a local copy up and running, follow these simple steps.

  1. Clone the repository:

    git clone [https://github.com/Kirky359/2048-game.git](https://github.com/Kirky359/2048-game.git)
  2. Open the project folder:

    cd 2048-game
  3. Install NPM packages:

    npm install
  4. Start the project:

    npm start

Technologies Used

  • HTML5: For the basic structure and layout of the game
  • SCSS: For styling the game board, tiles, and controls
  • JavaScript (ES6+): For game logic, tile movement, merging, and scoring
  • Parcel: For bundling and building the project
  • Git & GitHub Pages: For version control and deployment

Features

  • Score Tracking: The score updates in real-time as you combine tiles
  • Start & Restart: Easily start a new game or restart anytime
  • Responsive Controls: Play using your keyboard’s arrow keys
  • Win/Lose Detection: The game automatically checks for victory or loss
  • Responsive Design: Works smoothly on desktop and mobile devices

Author

  • Author: Kirky359
  • Year: 2025

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages