To make a match you need to make a horizontal or vertical line of at least three dice of the same color.
To do this you need to select a dice and drag it to an adjacent space in the grid. This will swap the position of the dice you have selected with the dice next to it. If you have created a line of three or more dice of the same color the attack will be successful and the dice will fly up to attack your enemy!