
In this real app development, we will work on developing an iOS memory puzzle game. In doing that, I will rely on techniques that are essential to ui design as well a correct programming exercise.
In this first lesson, we will start a new app for iPad and run it on simulator.
In this lesson, we will add the necessary items for our interface items. Keep in mind that some of these items will be removed later on. We need a game background, a timer label, a reset button. A game mode uiSegmentedControler and a Game win in Time Label. We would also need a label that illustrates the current game mode. Game mode should be hidden when the game is in playback mode.
In this lesson, we will change the proportions of some of our interface outlets and use constraints to properly adjust them to our views.
In this lesson, we will remove some of the items in our interface builder and begin designing them in our code. We will write the first for loop for doing so. Keep in mind some things will change later on.
In this section, we will write the second for-loop to complete our tiles for a 4 by 4 grid of tiles.
In this lesson, we will sub class a label class to be able to include some extra details. Keep in mind, this is useful for when we do things such as Image Views.
In this lesson, we will store all of our tiles and centers within an array.
In this lesson, we will learn how to Randomize our tiles using a randomized method.
In this lesson, we will learn how to use a transition animation to flip a touched upon view.
In this lesson, I will quickly partition the code into several files in order to enhance the code readability.
In this lesson, we will connect our Reset button to reset the timer value as well as re-randomize all the tiles. We will also add a new method that will hide all the tiles at this point
In this lesson, we will implement the touch ended event to detect the touches that land on our tiles.
In this assignment, you are asked to replace the touched ended method with a UI Tap Gesture Recognizer.
In this lesson, we will learn to call a new method that flips the tile that we have touched. Once we did that, we will go back to our reset function and flip all tiles back. We will flip them manually. We will use the flip to Hide function later on
In this lesson, we will prepare our code to compare the two tiles that we have tapped on.
In this lesson, we will learn how to flip a tile back if they are not the ones we were looking for or flip them forth if they are the ones that matched.
In this lesson, we will learn how to detect if the game has successfully finished.
In this lesson, I will illustrate an issue that we are facing and show you a solution around it.
In this lesson, we will program the game mode Segmented Control
In this lesson, we will learn how to use images instead of Labels for our game
In this lesson, we will program the game mode Segmented Control
In this section, we will add a new feature so player can choose whether they wish to play the Image Puzzle or Text Puzzle. We will finally clean the code as well.
In this course, we will explore the development of a basic game with XCode and through Swift programming language. Throughout the course, we will learn the basics of developing interfaces in XCode and also the basics of coding with Swift.
We will also explore some concepts of making a video game the logic behind the various features of the game.
This course is particularly useful if you are new to Swift and iOS programming in general, if you are an iOS programmer in Objective-C or if you wish to jumpstart your iOS programming.
A unique feature of this course is that it gets results fast and helps you develop a functioning game within one afternoon.
Along with the course, you will receive all assets, my own project and all the necessary pieces of code.
By the end of this course, you should be able to develop a variety of simple 2D games, puzzles within XCode and Swift.