On the Subject of Match ’em

Matchmaker, matchmaker, make me a match.

On this module is a playfield with 25 cards arranged into five rows.
Each card can be one of four suits: Clubs, Diamonds, Hearts, and Spades and one of ten colours: Red, Orange, Yellow, Lime, Forest, Blue, Cyan, Violet, Pink, and White.
Amongst the cards are twelve pairs and one remaining unpaired "joker" card.

Memorise the locations of the matching pairs and press the start button to flip the cards over.
The backs of the cards are identical.

With the cards flipped, the screen displays the number of remaining shuffles.
Initially, this number will always be 8.

Press the button to shuffle the cards, the cards can be shuffled in any of the following ways:

  • Swapping two rows/columns of cards.
  • Shifting a row/column one space.
  • Rotating four cards around the center of the playfield.
  • Swapping two cards.

Once there are no shuffles remaining, the cards can now be selected, flipping them back over.
When two cards are selected, the module will check for a match.
If the two selected cards match, they will remain face up.
Otherwise, a strike will be incurred and the selected pair of cards will be flipped face down.

The module is solved once only the joker is left face down.