Matching Game

Write a program that will present a user with a string grid of blocks.  Pairs of randomly arranged blocks have the same icon on it lying face down.  The user must click a pair of blocks, which reveal their symbol.  If the symbol is the same, remove them and continue with next round.  If symbols are different, turn them face down and allow the user another turn.  The game is over when all pairs have been matched.  Count the number of turns taken to find all matching pairs as a score.

Credit Blundell@MonktonCoombe

IMAGE CREDIT: https://en.wikipedia.org/wiki/Snap_(card_game)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.