The goal of this game is to make combinations of 3 or more cards in both vertical and horizontal. The way to achieve this is by selecting two adjacent cards by clicking on them and exchanging their positions.