Real-Time Gaming Blog

Developing an App With a Client-Server Model

2 min readPubNub Staff on Oct 9, 2013
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

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! This two part series on building an iOS app with...

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.**

More from PubNub

How to Advance Telehealth and Virtual Care Technologies
News May 2, 20221 min read

How to Advance Telehealth and Virtual Care Technologies

Dr. Joe Kvedar, Chair of the Board for the American Telemedicine Association, joins our COO, Casey Clegg, to discuss why...

PubNub Staff

PubNub Staff

Another Step Towards Data Security: ISO-27001 Implementation
BuildMay 2, 20221 min read

Another Step Towards Data Security: ISO-27001 Implementation

Today, we are glad to announce that we are currently in the process of implementing ISO-27001 security standards.

PubNub Staff

PubNub Staff

Improving Virtual Care in a Post-Pandemic World
News Apr 14, 20221 min read

Improving Virtual Care in a Post-Pandemic World

Meg Barron, VP of Digital Health Strategy at the AMA, talks with PubNub’s COO, Casey Clegg, about what’s next for the healthcare...

PubNub Staff

PubNub Staff