Xamarin Native iOS Memory Game C#
4.2 (24 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,466 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Xamarin Native iOS Memory Game C# to your Wishlist.

Add to Wishlist

Xamarin Native iOS Memory Game C#

Programming Native iOS Programming with Xamarin and C#
4.2 (24 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,466 students enrolled
Created by Amir J.
Last updated 6/2017
English
English
Curiosity Sale
Current price: $10 Original price: $25 Discount: 60% off
30-Day Money-Back Guarantee
Includes:
  • 2 hours on-demand video
  • 11 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • General understanding of Xamarin iOS Native application development
  • General understanding of C# programming for iOS Native Development
View Curriculum
Requirements
  • Basic understanding of programming concepts
  • Basic understanding of mobile technologies and design
Description

In this series, we will develop a memory puzzle game for iOS using Xamarin and C#. During the process, we will try to use as much as possible of the structures and development procedure of C# as opposed to Objective-C or swift. 

Xamarin is a mobile app development and code translator for developing iOS, Android, Windows Phone and Mac applications. Its C# interface allows for many developers to be able to develop their applications for various interfaces. In this tutorial however, we will learn developing iOS Native apps as opposed to a Xamarin forms app.

This course is essentially a beginner course and is most appropriate if you wish to begin developing iOS apps in Xamarin and C#, or if you already know a programming language and are planning to jump into Xamarin. This development should be a lot of fun and in general should take around 4 hours to complete. 

I have also included all the assets as well as my own working project at the end of each lesson. Please let me know if you ran into any issues and I will try and help you. 

Amir J

Who is the target audience?
  • Mobile application developers
  • New programmers
  • Experienced mobile programmers who wish to learn C# / Xamarin
Students Who Viewed This Course Also Viewed
Curriculum For This Course
13 Lectures
02:13:53
+
Introduction to App
4 Lectures 21:31

In this video, we will explore the various aspects of this development. We will learn about the goals of this development and will also have an overview of the entire project. 

Preview 00:53

In this lesson, we will do a quick review of the application, how is it being played and what programming interface and IDE is used to develop it. By the end of it, you should have an understanding of the following:
a) we need a system to make a grid of blocks of image
b) we need a way to randomize these blocks
c) we need a system to detect the touch that lands on the blocks
d) we need a way to understand whether this is the first time we are touching a block or the 2nd time
e) and finally we need a system to compare the two blocks we just touched.
f) there is also the need for some buttons and a timer

Understanding the App
03:42

In this lesson, we will make a new iOS solution in Xamarin and add the accompanying assets to our new solution. It’s a good idea to go through the assets once so you understand what we have in our hands. In here, we will also load our image assets into an array and prepare them to be used in the Image View blocks.

Adding the Assets
06:42

In this lesson, we will design our first interface. This will include a UIView, a UILabel and two UIButtons.

Adding the Game Interface Elements
10:14
+
Game Elements Programming
3 Lectures 51:40

In this lesson, we will write our next function that will deliver the blocks of images. We will have two For Loops to produce the array of Image Views as well as an Array of Coordinates that will later be used for randomization. Each time a block is made, we will add an image from our images array to it.

Preview 33:38

In this next lesson, we will write a code to randomly re-arrange the blocks in our game.

Randomizing our Blocks
10:18

In this lesson, we will write the code to flip the blocks so that they are not shown to user at the beginning of the game
Adding the Reset
07:44
+
Interaction with App
3 Lectures 43:14

In this lesson, we will use a built in function of UIView to trigger the touch events and animate the flipping effect of the blocks upon the touch.

Preview 14:17

In this lesson, we continue with our touch function and amend it to understand the order in which the touch has landed.

Understanding the Order of the Touch
13:57

In this lesson, we will write the code for our comparison action. In here, only if this is the 2nd touch that has landed, we will compare the two blocks and if they are similar, we will remove them from our game background.

Compare Action
15:00
+
Timer Action
2 Lectures 16:31

In this lesson, we add an action that is scheduled to run every time the game restarts and will start counting up time.

Preview 10:20

In this lesson, we will add the action for the buttons to restart the game.
Adding the Buttons Action
06:11
+
Final Thoughts
1 Lecture 00:57

In here, we do a quick re-cap of everything that was done to make sure you understand every aspect of the development properly.

Preview 00:57
About the Instructor
Amir J.
4.5 Average rating
272 Reviews
10,079 Students
7 Courses
Senior Instructor

I am currently Senior Instructor at Cinard. Before taking up this job and moving to beautiful Vancouver, for over a decade I was senior lecturer of apps / games programming in various colleges and universities. 

I work primarily in native iOS and Android apps and Video games in Unity3D.

Cinard is a Digital Media Art & Technology Institute.