GithubHelp home page GithubHelp logo

siathalysedi / matchismo Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 837 KB

Matchismo presents card matching games as a solution to the assignments given in Paul Hegarty's Stanford course, CS193P: "Developing Apps for iOS".

matchismo's Introduction

README :: Matchismo


David Reeder http://mobilesound.org

This Xcode project represents a solution to the Matchismo assignments given by Paul Hegarty to his students at Stanford during his Winter 2012-2013 course titled "Developing Apps for iOS" (CS193P) which covers the fundamentals of development with iOS 6. Autolayout updated for iOS7.

For more information about these courses, and how to download the lectures and materials via iTunesU, please see:

http://www.stanford.edu/class/cs193p

Barring a few trivial exceptions, this version of Matchismo solves every Requirement and includes all Extra Credit given in assignments #1 through #3. Since Matchismo underwent significant revision between assignments #2 and #3, the UITabViewController has been extended to allow selection of the first versions (v1) of the Match and Set games. Files and objects for the second version of the Match and Set games are sometimes suffixed with "_v2".

This solution to Matchismo demonstrates the following use of Objective-C and the iOS Framework:

  • implementation of Match and Set games, versions 1 and 2

  • MVC design patterns

  • subclassing in both the view and the model

  • storyboard, target-actions and outlets

  • protocols for Delegation design pattern

  • common containers such as NSString, NSAttributedString, NSArray and NSDictionary

  • Property Lists and management of user defaults

  • demonstration of UICollectionViews including: multiple, dynamically allocated sections; heterogeneous, dynamic UICollectionViewCells; supplementary Headers and Footers.

  • UITabViewController including custom control over UITabBarController defaults.

  • customized UIViews to handle image and text

  • Pinch and Tap gestures

  • custom drawings with UIBezierPath (ie: programmer art!)

  • animations for view sequences that highlight cells before updating the UICollectionView

  • use of Autolayout -- Portrait and Landscape, 3.5" and 4" iPhones (version 2 games only)

  • clear feedback to the user at all times during the game

  • two and three card match games; game history

  • a simple UIWebView to document Set via Wikipedia

  • Settings tab to configure the games and score display, including choosing which game appears first at boot

  • test for the existence of Set matches as a means to improve scoring, display of hints and to determine proper game play

  • small library of utility classes for debugging, logging, management of user defaults, CGPoint calculations and other miscellaneous

NOTE -- The rules for Autolayout changed between iOS6 and iOS7. All touch logic from iOS6 version is now available. However, the results are fussy!

Shifting between portrait and landscape will correct UI for missing or improperly sized UI objects. If touch is not responding in landscape, fix this by shifting between Set and Match Games while keeping landscape orientation.

matchismo's People

Contributors

davidreeder avatar

Watchers

Arnstein Henriksen avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.