0.0.11 • Published 12 months ago

@ddgrishkin/game2048 v0.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

2048

Reproduction of the popular game - 2048. It was written for the purpose of personal training. I used React library for display. The most interesting issue was to maintain correct rendering in order to avoid unnecessary redraws and not break tiles animation (due to the React reconciliation).

Main feature of this realisation is possibility to change a field size and a digit. You just have to pass configurable property with true value.

CSS Variables

The visual colors could be changed by css variables (except of the tiles, I didn't have enough motivation to support this part). Look into ./src/game.css to see available css variables you could reuse or redifine in your app.

0.0.11

12 months ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago