Skip to content

Concentration was one of the assignments of the course Development of an iOS application of the minor Mobile Application Development at the HAN University of Applied Sciences, edition fall 2018. The assignment comes from the course Developing iOS 11 Apps with Swift by Paul Hegarty.

Notifications You must be signed in to change notification settings

SanderTeunissen/Concentration-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Concentration

Concentration was een van de opdrachten van de course Develop an iOS Application van de minor Mobile Application Development aan de Hogeschool van Arnhem en Nijmegen, editie najaar 2018. De opdracht is afkomstig uit de course Developing iOS 11 Apps with Swift van Paul Hegarty.


Concentration was one of the assignments of the course Development of an iOS application of the minor Mobile Application Development at the HAN University of Applied Sciences, edition fall 2018. The assignment comes from the course Developing iOS 11 Apps with Swift by Paul Hegarty.

Requirements

Requirement Cijfer
A Zorg dat de Concentration-game werkt zoals aangetoond in colleges 1 en 2. Opmerking: typ alle code in. Kopieer en plak nergens vanaf. 1.0
B Voeg meer kaarten toe aan het spel. 1.0
C Voeg een knop 'Nieuw spel' toe aan je gebruikersinterface waarmee het huidige spel wordt beëindigd en een gloednieuw spel begint. 0.5
D Momenteel zijn de kaarten in het model niet willekeurig (daarom komen overeenkomende kaarten altijd op dezelfde plaats in onze gebruikersinterface). Schud de kaarten in de methode init () van Concentration. 0.5
E Geef je game het concept van een "thema". Een thema bepaalt de set emoji waaruit de kaarten worden gekozen. Alle emoji in een bepaald thema zijn gerelateerd aan dat thema. Bekijk de thema's voor bijvoorbeeld Thema's. Je game zou minstens 6 verschillende thema's moeten hebben en elke keer dat een nieuwe game begint, een willekeurig thema zou moeten kiezen. 1.0
F Uw architectuur moet het mogelijk maken om een nieuw thema toe te voegen in een enkele coderegel. 1.0
G Voeg een scorelabel toe aan je gebruikersinterface. Scoor het spel door 2 punten te geven voor elke match en te bestraffen. Scoor 1 punt voor elke eerder geziene kaart die betrokken is bij een mismatch. 1.0
H Het bijhouden van het aantal malen dat de flip-over wordt bijgehouden, hoort vrijwel zeker niet thuis in uw controller in een geschikte MVC-architectuur. Repareer dat. 1.0
I Alle nieuwe gebruikersinterface die u toevoegt, moet netjes worden ingedeeld en er goed uitzien in de staande modus op een telefoon X. 0.5
J Refactor de app met goede werkwijzen voor moderne programmering. Dit bevat:
- Vijf SOLID principles (Martin, 2017)
- Coupling and Cohesion (Beck & Diel, 2011)
- Design Patterns (see e.g. Ray Wenderlich (Link) or Freeman (Link)
- Leesbare code.
- Goede reflectie op codebeslissingen.
2.5

Requirement Grade
A Get the Concentration game working as demonstrated in lectures 1 and 2. Note: Type in all the code. Do not copy/paste from anywhere. 1.0
B Add more cards to the game. 1.0
C Add a “New Game” button to your UI which ends the current game in progress and begins a brand new game. 0.5
D Currently the cards in the Model are not randomized (that’s why matching cards endup always in the same place in our UI). Shuffle the cards in Concentration’s init()method. 0.5
E Give your game the concept of a “theme”. A theme determines the set of emoji fromwhich cards are chosen. All emoji in a given theme are related by that theme. See theHints for example themes. Your game should have at least 6 different themes andshould choose a random theme each time a new game starts. 1.0
F Your architecture must make it possible to add a new theme in a single line of code. 1.0
G Add a game score label to your UI. Score the game by giving 2 points for every match and penalizing. Score 1 point for every previously seen card that is involved in a mismatch. 1.0
H Tracking the flip count almost certainly does not belong in your Controller in a proper MVC architecture. Fix that. 1.0
I All new UI you add should be nicely laid out and look good in portrait mode on an Phone X. 0.5
J Refactor the app to include good practices for modern programming. This includes:
- Five SOLID principles (Martin, 2017)
- Coupling and Cohesion (Beck & Diel, 2011)
- Design Patterns (zie bijv. Ray Wenderlich (Link) or Freeman (Link)
- Readable code.
- Sound reflection on code decisions.
2.5

About

Concentration was one of the assignments of the course Development of an iOS application of the minor Mobile Application Development at the HAN University of Applied Sciences, edition fall 2018. The assignment comes from the course Developing iOS 11 Apps with Swift by Paul Hegarty.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages