The object of the game is to have all the tiles removed from the board. Any pair of tiles that totals 12 may be removed and then replaced by drawing 2 more tiles from the face-down stack. In this game there is no way to undo the move.

This image is a schematic representation, not a screenshot from the game. Screenshots are platform specific. You can see screenshots in the store.