When you make a match, the character that has the highest attack value in that color will attack and move to the front line, taking hits for that turn. You can tell which character has the highest attack value in a color by the different symbols inside the tiles.