Skip to content

SuthanThuraimani/2048_react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048 - Javascript App

Tech stack: React-JS (create-react-app), Javascript Functional programming, HTML, CSS, jest-enzyme

Functionalities Implemented:

  • This app can work with any size of matrix, it can be configured via utils/constants.js (MATRIX_DIMENSION = )
  • 4 direction cell merge through keyboard keys (upward,forward,downward,back) and through UI buttons
  • Reset, undo functionalities and scoreboard

Unit Testing:

  • unit testing using jest-enzyme
  • jest coverage reports

This is how application looks like: ScreenShot

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.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.