Create an Apple Watch Game with Xcode and Watchkit

Learn how to create a fully-functional game using Apple's iOS in Objective-C and Swift for Apple Watch using Xcode!
4.7 (59 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.
4,557 students enrolled
Start Learning Now
  • Lectures 19
  • Length 1.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 1/2015 English

Course Description

Do you have an interest in Apple Watch? How about Objective-C or Swift?

In this course, you learn how to create the classic and fun Simon-like Color Memory Game for Apple Watch. During the course, you will receive all code and video instruction to build your own game in both Objective-C and Swift.

You will learn how to create a full game from booting up your XCode, to writing your first view controllers and previewing them in the Xcode Simulator. As we discuss the terminology, we have pop-ups (think VH1's Popup Video!) to provide additional information on-screen for insight and memorization.

Our Color Memory Game course has over 2 hours of content which will immerse you in the development of this game alongside Kevin Weiler (seasoned iOS developer) and Miles Rast (veteran web developer). It is a nerdy approach to a very nerdy project. :-)

This course starts with an Apple WatchKit extension, goes into designing a simplified menu and game controller. And then the magic. We code the application together while providing tips and tricks that we have learned in our own development journey.

We have spent a lot of time building this project, editing the video and providing it to you in a seamless set to get you on your way. We hope you learn from this, but more importantly - we hope it provides a launchpad to inspire you with your own future game. Enjoy!

What are the requirements?

  • Base programming concepts are helpful (ie, we are not teaching "for loops", "data types", etc)
  • Basic Objective-C syntax can be helpful
  • Recommended access to a MacOS computer to code alongside us!

What am I going to get from this course?

  • Create a fully-functional Simon-like Color Memory Game for Apple Watch!
  • Learn Apple's WatchKit Extension in both Objective-C and Swift
  • Learn how to install and use the Apple Xcode environment
  • Create menu interfaces using WKInterface Builder, Game Design, Buttons and Labels, Delays and more to build out this game to completion
  • Usage of the Xcode developer tools, simulator and terminology. We explicitly highlight terminology and provide helpful popup-bubble overlays to make terminology easier to understand
  • Develop a full game!
  • ... have fun with some great new Apple tools! :-)

Who is the target audience?

  • You!!! ;-)
  • Beginning and Intermediate iOS Developers
  • Anyone with an interest in Apple Xcode and Apple Watch Development
  • Students with Computer Science Classes
  • Software and Mobile App Developers
  • Entrepreneurs with CS Backgrounds
  • Anyone with an interest in seeing a fully-developed game from New Project through to Completion

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Project Setup using Objective-C
Install Xcode and setup your Objective-C Application
Create your new Simon-like Color Memory Game Application
Add a WatchKit Target, then Build and Preview your WatchKit App
Section 2: Design your Color Memory Game Interface
Design the Color Menu Interface
Create your first WKInterfaceController - the Game Menu controller!
Add Buttons as Outlets, and Connect them to your Source Code
Create layouts for Buttons and Labels using Groups
Add Seperators, and connect Outlets and Actions to game Buttons
Section 3: Let's get to Coding!!!
Jump in - Programmatically push an Interface Controller!
Create a random number generator for Game Sequence of Quadrants
Index Buttons and Button Colors so we can Access them using Arrays
Create a Function to Flash a given Quadrant in the Game Controller
Create StartGame Function to announce the Start of your New Game!
Write a Recursive Function to flash the Quadrants of the Current Turn
Mutable Arrays to Track the Sequence of Button Presses from the User
Create Functions to Start Player Turn and Comp Turn, and iterate between them
Create a Protocol, and use Delegation to Pass Score to your Menu Controller
Initialize the Delegate and finish the game!
Final interface elements... and a little elbow grease to polish it up!

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Miles Rast, Website Developer

I like to build cool things with computers. I started developing website back in 1997 using Netscape Navigator and eventually turned this hobby into a passion and into a business. I started as a traditional website developer doing front-end development, and eventually began learning back-end development.

Today, I own, run and operate a small-time website development company in the Silicon Valley called Rasteroids Design. I continue to write front-end code using HTML5, CSS3, SASS, Bootstrap and others. For backend, my preference has always been and continues to be Adobe Coldfusion, along with middleware of javascript and jQuery. By the time you read this... there's a good chance a new framework will be available and everything you just read about me will be obsolete. ;-)

Instructor Biography

Kevin Weiler, iOS Application Developer

I'm a career iOS app developer.  I enjoy learning new aspects of Apple's ever-changing SDK and have especially enjoyed learning Swift over the last few years.  I stay mostly focused on the practical aspects of development, but am seeking a deeper understanding of functional swift programming and machine learning.

Check out some of the apps I helped create over the years at my site. :)

Ready to start learning?
Start Learning Now