Developed a JavaScript browser-based version of the game 2048. The game incorporates responsive grid-based mechanics, allowing players to combine numbered tiles and strive to reach the 2048 tile. The project supports keyboard input to control tile movement with arrows and dynamically updates the score. The code uses clean and modular JavaScript practices, making it easy to maintain and extend.
- HTML5
- CSS3
- SASS
- JAVASCRIPT (ES6+)
- BEM
- GULP
- GIT
-
Cloning a repository. You need to write
git clone https://github.com/boikoua/game_2048
in terminal. -
Go to the project folder
cd game_2048
. -
Check the node version. The version of node should be
v20.x.x
. To do this, type the commandnode -v
in the terminal. -
Install dependencies. To do this, enter the
npm install
command. -
Run the project. To do this, enter the
npm start
command. After that the project will be available to you athttp://localhost:3000
.
Link to the project DEMO LINK.