Skip to content

nikitachupahin/2048_game

Repository files navigation

2048 Game

A classic 2048 puzzle game built with pure JavaScript, HTML, and CSS. 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/nikitachupahin/2048_game.git
  1. Open the project folder:
cd 2048_game
  1. Install NPM packages:
npm install
  1. 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 all the game logic, including tile movement, merging, scoring, and state management.

  • Git: For version control and tracking changes throughout the development process.

✨ Features

  • Score Tracking: The score is updated in real-time as you combine tiles.

  • Start & Restart: Easily start a new game or restart the current one at any point.

  • Responsive Controls: Play using either your keyboard's arrow keys or the on-screen arrow buttons, making it accessible for both desktop and mobile devices.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors