How To Make a Simple Playing Card Game with Multiplayer and Bluetooth: Intro and Challenge

Ray Wenderlich
Learn how to make a fun multiplayer card game with UIKit!

Learn how to make a fun multiplayer card game with UIKit!

This is just an announcement to let you guys know you are in for a special treat!

Matthijs Hollemans, the author of the IOS Apprentice and co-author of iOS 5 by Tutorials, has written a new epic 7-part tutorial series for you guys – that is completely free for all raywenderlich.com readers!

The tutorial series shows you how to make a fully functional card game app for the iPhone using UIKit. And the best part about it is it is fully multiplayer using Bluetooth/Wi-fi and Bonjour networking!

Here’s a video showing off the multiplayer card game you’ll make in this tutorial series:

Pretty cool, eh? Keep reading to find out more about who this tutorial is for, when it’s coming out, and our special reader’s challenge!

Who’s This Tutorial Series For?

This tutorial series is best for intermediate or advanced iOS developers who want to learn more about the following topics:

  • Network programming. This tutorial covers a lot of subtle aspects of network programming that aren’t covered anywhere else – such as how to architect your networking code and integrate it with your game logic, how to elegantly transmit packets of data across the wire, how to deal with disconnects, out-of-order packets, and other networking issues, and much more. The lessons you’ll learn here apply to many different networking APIs, not just GameKit/Bonjour.
  • UIKit GUIs and animation. Not only does this tutorial show you how to make a networked card game – it shows you how to make a good looking networked card game. You’ll learn a lot about using UIView animations for neat transition effects, customizing the look of buttons and views, and much more.
  • General good coding/architecture practices. This is a fairly substantial app, and there’s a lot of code to cover. Going through this tutorial will show you a good example of how to separate the model, view, view controllers, and networking code into separate classes, making areas of responsibility clear and the code easily understandable and maintainable.

In short, this tutorial is a great read even if you don’t plan on making a game like this anytime soon – you will learn a lot. I know I did!

When’s It Coming Out?

The first part of the series will be coming out tomorrow (Friday), and subsequent parts will come out every subsequent Friday, for 7 Fridays total.

The reason we’re giving such a long break between each part of the series is to give you guys plenty of time to try each part before we move onto the next one.

There’s a lot of ground to cover, and it’s best if you tackle it a little bit at a time so you don’t get too tired/overwhelmed. Each tutorial will take about 1-3 hours to get through, so if you want to follow along, you just need to set aside some time on your schedule each week to keep up.

And that leads us into the next section…

Reader’s Challenge!

Challenge accepted.

Challenge accepted.

We thought it would be fun to give a little challenge to you guys with this tutorial series, since it’s such a long one.

The challenge is the following:

  • Follow along. Follow along with us each week and complete each part within a week of it being posted (each part comes out on Friday). It’s best if you schedule 1-3 hours each week to go through each part.
  • Race to the finish! When you finish the final part, contact us and let us know that you made it all the way through! (We’re going by the honor system.)

The first three people to make it completely through the series will have their name and photo of their choosing forever immortalized on this post!

Update 9/19/12: And here are the winners: Phoenix, Stephan Pulver, and Greg Pugh!

The Immortal 3!

Why? Because it’s fun! :]

In addition, a random person from the “immortal 3” will win a free copy of the book the iOS Tutorial Team and I are working on (when it comes out) – iOS 6 by Tutorials! :]

If you are reading this post after the “reader’s challenge” officially starts (or is over), you can still do the challenge for fun! Do the tutorial in phases – no more than one a day. That way you can really understand the content and pace yourself. And post here when you’re done!

Update: Some readers have requested we have the final part come out on Saturday so those itching to be the first to finish have a fair chance without it conflicting with work schedules. So the final part will come out on Saturday Aug 11 @ 11AM EST per your requests, the rest will come out each Friday as planned :]

Enjoy!

Matthijs and I hope you enjoy this tutorial and learn a lot along the way. Stay tuned for the first part in the series – this Friday – and we hope you follow along with us! :]

Ray Wenderlich

Ray is part of a great team - the raywenderlich.com team, a group of over 100 developers and editors from across the world. He and the rest of the team are passionate both about making apps and teaching others the techniques to make them.

When Ray’s not programming, he’s probably playing video games, role playing games, or board games.

Other Items of Interest

raywenderlich.com Weekly

Sign up to receive the latest tutorials from raywenderlich.com each week, and receive a free epic-length tutorial as a bonus!

Advertise with Us!

PragmaConf 2016 Come check out Alt U

Our Books

Our Team

Video Team

... 19 total!

Swift Team

... 16 total!

iOS Team

... 32 total!

Android Team

... 17 total!

macOS Team

... 13 total!

Apple Game Frameworks Team

... 12 total!

Unity Team

... 10 total!

Articles Team

... 10 total!

Resident Authors Team

... 10 total!