You have to match tiles in pairs until all of tiles are gone.
Once two tiles have been matched, they will disappear from the board.
When you click on a tile - it becomes highlighted.
In order to select a tile, it must have at least one side edge free.
(no other tiles touching it, and cannot have any tiles on top of it).