Goal: убрать все плитки с поля, находя одинаковые пары.
A tile is free if no tile is on top of it and at least one side (left or right) is unblocked.
Tap two matching free tiles to remove them.
If no free pairs are left, you can shuffle the tiles.
No free pairs left