2048 Game Built Using React.js
Game 2048
This version of the 2048 game is insipired by the original https://play2048.co/.
Build with
Getting Started
To get a local copy up and running follow these simple example steps:
-
Clone the repo
git clone https://github.com/grigorzyapkov/2048game.git
-
Install NPM packages
yarn install
-
Run the app
yarn start
How to play
You can play both on mobile and on desktop.
Use your arrow keys on desktop (or swipe with your fingers for mobile) to move the numbers. The same numbers will be merged into one when they touch. After each move, a new number (2 or 4) is generated at a random empty position. Merge the numbers and build a 2048 number to WIN the game!