Gaming

Developing an App With a Client-Server Model

2 min read Michael Carroll on Oct 9, 2013

Warning

We’ve updated our SDKs, and this code is now deprecated.

Good news is we’ve written a comprehensive guide to building a multiplayer game. Check it out!

iOSPokerThis two part series on building an iOS app with a client-server model was developed by our two summer interns, Taylor Kimmett and Ajan Jayant.

Given the gradual decline in the barriers to entry for software development, the number of hobbyist and do-it-yourself developers is increasing; and games are often one of the first projects new developers want to tackle because they seem like the most fun. But creating a game generally isn’t the best starter project due to the inherent complexities involved.

So in order to give some direction to aspiring game developers, our team has taken a shot at creating a iOS Poker game that will hopefully be useful for others to not only see and use, but to see how we built it.

This tutorial is split into two parts:

Part One: Develop the client side of the game using Objective-C and implementing PubNub as a language agnostic framework.

TakeMeToPartOneCTAiOSPokerPart Two: Building a game server in C#

TakeMeToPartTwoiOSPokerAll the code you need to get started right away is in the GitHub repository below.

**NOTE: Since we wrote this tutorial, we’ve released a new, completely-redesigned version of our iOS SDK (4.0). We rebuilt the entire codebase and took advantage of new features from Apple, simplifying and streamlining the SDK.

The code from this tutorial still works great, but we recommend checking out our new SDK. We’ve included a migration guide to help you move from 3.x to 4.0, and a getting started guide to help you create a simple Hello World application in minutes.**

0