Skip to content

lineCode/2048game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

PLAY NOW

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 76.2%
  • SCSS 19.2%
  • HTML 4.6%