This project was bootstrapped with Vite
2048 is a popular game. Here implemented this game. control requires a keyboard with navigation arrows. The game has a score and opportunity to restart the game. Also, will be shown messages for Win or for Lose game.
- The classic gameplay for 2048 is a 4 x 4 field.
- Simple and clear user interface.
- Simple control using the arrows on the computer keyboard.
- The scoring system shows the current score.
- Each number has its own color for a more convenient game.
To run this project locally, you will need:
- Node.js v18 or higher
- npm or yarn
- vite
- vanilla js
- scss
- GitHub Pages
-
Clone the repository:
-
Navigate to the project directory:
-
Install the dependencies:
-
Start the development server:
Developed by Mykhailo Hubko. You can reach me via: Linkedin Email: mixelios@gmail.com
more about JavaScript JS-book more about Styles css-tricks more about Vite Vite
Good luck!