/2048

2048 - Puzzle Video Game

Primary LanguageJavaScript

2048 - the video game 🧩

This project was made by Team Aditya for Devsnest Hackathon.

About

2048 is single player sliding tile puzzle video game.

Live Demo 🕹️

demo

What is 2048 ❓

2048 is played on a plain 4×4 grid, with numbered tiles that slide when a player moves them using the 4 arrow keys. Tiles slide as far as possible in the chosen direction until they are stopped by either another tile or the edge of the grid. If two tiles of the same number collide while moving, they will merge into a tile with the total value of the two tiles that collided.

- Pre-requisites

Node Js - you can download it from here.

- Clone the project

git clone https://github.com/siddharth20190428/React-2048-hackathon.git

- Run the project

  • Open directory where you have cloned the repo and type : npm start It runs the app in the development mode.
  • Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
  • You will also see any lint errors in the console.

Technologies used 🧑‍💻