/The2048

A forgiving version of the game 2048

Primary LanguageJavaScript

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

2048 The Game

This is an attempt to recreate the popular game 2048 with some additional features The game has been implemented using React Framework and JavaScript language for easy development

Features

  1. Fully working game using keys: Moves can be made by using any of the arrow keys
  2. New UNDO feature that allows you to Undo your moves 3 times during the game.
  3. NEW GAME button allows you to rest and start all over at any time
  4. Responsive layout using flexbox and media-queries

Future work

  1. Adding Transitions to add effects
  2. Responding to touch events
  3. Adding unit tests

How to use

  1. Clone the repo to your favorite directory
  2. Use npm start command to start the server.
  3. Your app will run on your browser on something like http://localhost:3000/