nnmer / tmp-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start learning about the tile-matching / match-three topics.

There are different "complexities" that can be used in real game, some of them are: valuing longer chains higher, looking for combos. In the test this can ignore, focus only on matching-three.

okay, checked the puzzle&dragons game, there are horizontal & vertical matches, 3 and more matches, combos etc.

As no additional requirements, we will do next assumptions:

  • match 3 only
  • do not count any combos, vertical matches etc.

So make it simple for now, horizontal match-3 logic, once the finger is out released we calculate the path and the matches

The matrix 6x5, totally 30 items; 5 types of colors, randomly filled in;

About


Languages

Language:JavaScript 85.6%Language:CSS 7.3%Language:HTML 7.0%