项目作者: mat-sz

项目描述 :
🎮 2048 clone (React/TypeScript/Redux). No canvas.
高级语言: TypeScript
项目地址: git://github.com/mat-sz/2048.git
创建时间: 2020-09-10T16:17:22Z
项目社区:https://github.com/mat-sz/2048

开源协议:BSD 3-Clause Clear License

下载


2048

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.

Running/Development

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

  1. yarn install
  2. yarn start

Unit Tests

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

  1. yarn test