Check if 3 cards are selected
Check all face values are the same
Add all selected cards values to an array
Sort the array (it will put cards in ascending order)
Check that card in index 1 is greater than card in index 0 by 1 and lower than card in index 2 by 1
If all that is true, position the cards close to one another in order and position pin them together