Snap

Cards

Inspired by one of the mini games in the New Super Mario Bros. for Wii, I though I would create a simple Snap game. It was made over three evenings and isnt particularly complex. An array is defined at the top containing the 13 different symbols. Then two cards are placed for each symbol and given individual names. When two are turned a function checks if they are the same or not. Theres some listeners controlling the time that the tick and cross icons are up and some tweening. I am hoping that I can reuse this code later on and make the snap game a mini game within a larger game. I have been planning on making a small Zelda inspired adventure game. Perhaps the Snap game will appear there.




Your comment...

Name Email - required, will not be published URL

Notify me of follow-up comments?

Please enter the word you see in the image below: