2048 icon indicating copy to clipboard operation
2048 copied to clipboard

🎮 2048 clone (React/TypeScript/Redux). No canvas.

2048

2048 • Demo

workflow

This is a reimplementation of Gabriele Cirulli's excellent 2048 game, built with React, Redux and TypeScript. Unlike other React-based implementations, only functional components (with hooks) are used here. This project doesn't rely on canvas or element refs. This project was bootstrapped using the mat-sz CRA template.

Running/Development

As with many CRA-based application, 2048 can be run using the following commands:

yarn install
yarn start

Unit Tests

Several unit tests for game logic are available. You can run the test suite using:

yarn test