Topics
Published on January 11, 2018 by CodeWithChris

Now that you can flip and match cards, when does the match end?

In this lesson, you’ll implement a countdown timer so that the player only has a short amount of time to win.

When the timer counts down and the player hasn’t matched all the cards, s/he will lose the game!

You’ll learn how to show an alert for the win/lose message too!

This video series builds upon (and requires) the skills learned in these two playlists (So please watch these first if you haven’t already!):

How To Make an App for Beginners:

Build Your Swift Skills:

My Courses:
codewithchris.com/beginnercourse/

Twitter:
twitter.com/CodeWithChris

Reddit:
www.reddit.com/r/CodeWithChris

———————————-

This video series uses the latest and greatest from Apple (Xcode 9, Swift 4, iOS 11) and will teach a beginner with no programming experience how to make iPhone apps. I’m creating these videos with the assumption that the student has no prior knowledge and is starting from scratch.

For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like minded learners! Learning something new is always more fun with other people!

CodeWithChris is dedicated to teaching beginners and non-programmers all about how to make an app. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift 4, Xcode 9 and app building from my course and materials!

Here’s just a sample of the success stories my students have sent in:

68 Beginners Share Their Success Stories

Leave a Reply

4 Comments on "How To Build a Match Game – Lesson 10 (Win Condition)"

Notify of
avatar

Tom Evelin
Guest
Tom Evelin
3 days 21 hours ago

Heya Chris! Great tutorials… is episode 11 far off being finished?

Minh Le Hong
Guest
Minh Le Hong
4 days 5 hours ago

Hi Chris, do you know why my alert message did not pop up at the end?

Minh Le Hong
Guest
Minh Le Hong
4 days 2 hours ago

I've forgot to call checkGameEnd() method in method timeElapsed() when the milliseconds <= 0

John Vincent
Guest
John Vincent
5 days 20 hours ago

A much longer tutorial than any other videos that teach making an app. But the best tutorial to follow and learn sth

wpDiscuz