Awesome Open Source
Awesome Open Source

2048 • Demo


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.


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
Alternatives To 2048
Select To Compare

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,058,747
Typescript (245,560
Reactjs (162,277
Video Game (82,612
Redux (27,907
Canvas (10,660
2048 (788
Javascript Game (587
Typescript Game (10