zanshin/Matchismo — pull request #1 by zanshin (2013-07-06 22:18:07+00:00)
Title: Assignment I: Matchismo

- [X] Complete instructions in lecture slides.
- [ ] Add 4 cards to the game (for a total of 16).
- [ ] Add a text label somewhere which describes the results of the last flip. Examples: "Matched Jh & Jc for 4 points" or "6d and Jc don't match! 2 point penalty!" and simply "Flipped up 8d" if there is no match or mismatch.
- [ ] Add a button called "Deal" which will re-deal all of the cards (i.e., start a new game). It should reset the score (and anything else in the UI that makes sense). In a real game, we'd probably want to ask the user if he or she is "sure" before aborting the game in progress to re-deal, but for this assignment, you can assume the user always knows what he or she is doing when they hit this button.
- [ ] Drag out a switch (UISwitch) or a segmented control (UISegmentedControl) into your View somewhere which controls whether the game matches two cards at a time or three cards at a time (i.e., it sets "2-card-match mode" or "3-card-match mode"). Give the user appropriate points depending on how difficult the match is to accomplish.
- [ ] Disable the game play mode (i.e., the UISwitch or UISegmentedControl) from the task above) when flipping starts and re-enable it when a re-deal happens (i.e., the Deal button is pressed).
- [ ] Make the back of the card be an image (UIImage) rather than the Apple logo.