Just a bit of code tidying to get ready to refactor
Finished lazy instantiation of exposed last game objects. Reworked and combined two and three card matching logic in the game model.
Superclassed the view controller
Reorganized folders. Superclassed the view controller.
Number of cards to matched now passed as init argument for the card matching game.
Updated the code for explanation label and left the implementation of this method to the subclasses. Added a public scoring structure dictionary property  to the cardmatchinggame which can be lazy instantiated by subclasses to include different flipcounts, additional conditions etc.
Added tab bar controller, subclassed gameviewcontroller for the set game (not implemented yet). Possibly something still goofy with the explanation label.
Subclassed deck to make SetDeck and wrote init function. Subclassed set card and started to think about its structure. Rewrote viewwithload to update the ui in cardgameviewcontroller so it will update the number of cards to match correctly.
Extracted the updatecardui method so it can be subclassed by the setgame view controller. Wrote first draft of set card matching logic.
Set cards now display their contents correctly. Made the cardatindex method return an id to be subclass friendly. Changed set cards to implement the four types correctly. Updated setdeck to initialize a deck for all four types.
Swtiched some of the colours around just to make debugging easier (in the order of valid colours/numbers etc. in set.) Implemented correct set matching logic in setcard.
Wrote code to display matches, mismatches and flips
Parametrized (badly) the scoring structure.