ctrleffive / react-2048

2048 Game Made With React

Home Page:https://react-2048.chandujs.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React 2048

Build Status

2048 Game Made With React

Screenshot

Requirements Checklist

  • Solution should be a web app written in React.
  • Basic rules & conventions of the 2048 game should be followed.
  • Game should be playable using the arrow keys of the keyboard.
  • Best score and current score should be tracked.
  • The web-app should remember its previous state if the page is reloaded.
  • The UI has to be exactly as shown in the design.
  • Game should have an UNDO button, that undoes the last move. If there are no last moves it should be disabled.
  • Game should have a REDO button that redoes the movie. If there are no moves to redo, it should be disabled.
  • Game should have a REPLAY button that basically auto plays the game from the first move to the most recent move. When starting the game, the Replay button should be disabled.
  • The Replay should have a timeout of 2 seconds between each move
  • When Replay is in progress, no new moves are allowed.
  • Add a reset button to the UI, which will essentially restart the game from scratch.

About

2048 Game Made With React

https://react-2048.chandujs.dev/

License:MIT License


Languages

Language:JavaScript 82.5%Language:CSS 12.6%Language:HTML 4.9%