I created a memory card matching game with a take on one of my favorite rap groups, Wu-Tang Clan. In this variation, you will participate in a mental agility test for entry into the 36 chambers. You must correctly match each Wu-Tang member to successfully complete your challenge and flex your skills.
To begin play, click the "Accept Challenge" button to begin the timer
1. click on a square to flip a card a reveal a Wu-Tang member
2. choose another square to flip that card to reveal a Wu-Tang member: if it is a match to the first Wu-Tang member revealed the cards will remain revealed on the game board OR if it is not a match, the cards will flip back over and you will choose another card to reveal another member
3. continue to flip cards and match all of the members of the Wu-Tang Clan until you have revealed all of the cards on the board! Ready to test your mental agility skills?
Hit the "Accept Challenge" button to begin!
Before beginning my game, I needed to pinpoint the object of the game as well as the steps players would need to take to play. I mapped out the steps to the game and determined the following to create a functioning game:
- How many cards I would need to display
- Show back of card initially and flip on select
- How will I randomize the display of cards
- Only allow for two cards to be flipped at a time
- Determine if the two flipped cards match or if not, flip back over
- Add time interval delay to flip card back over
- End game when all cards are flipped and matched, with no cards left
- Display winning text box
In creating the game, the main coding function I needed to create was flipping cards and only allowing for two cards to be flipped at a time, then checking for a match and if no match flipping the cards back without resetting the cards on the gameboard. The following code proved to be the most useful.
Some feature that I would like to add in the future that I could not on this round due to project time constraints would be: