- Home /
Online Turn-Based Board game for iOS
Hello I am in the process of making a Turn-based Board game for iOS. I want the game to play like Words with Friends where one player takes a turn and the game-board is updated and then the next player is able to make a move.
My question is what would be the best way to go about this type of game play? Would I need to use a server for the player to connect with to update the board with their turns or would I be able to do it phone to phone?
Any help pointing me in the right direction would be appreciated. Thank you
Answer by kalvinlyle · Apr 04, 2012 at 06:13 PM
I think Unity is the correct choice for you project
We have built a turn based game that used Twitter posts to record turns so you have loads of options
The game I'm working on now is a 2D platformer and before I reduced it's memory usage it was 32MB as an iOS app. In 3 days I got it down to 16MB without any visual quality lost.
There is no doubt in my mind that you have set yourself a large task, but Unity is a great game engine and you should never let anyone tell you something isn't possible with it ;) There will be hardships and difficulties to overcome, but the strength in Unity is as much in it's supportive community as the tools themselves.
Break your game into smaller hurdles and try to tackle them one at a time. You'll get there eventually.
While it's obvious that I mostly disagree with Danny, I think he's right that the social and networking components will be the most difficult. I would start with them:
Get turns happening across multiple devices
Figure out how to invite players and manage game session
Build your game around those pillars
To start, go buy the [Game Center Turn Based Multiplayer plugin for Unity from Prime31][1]. His plugins are top notch, you won't be disappointed. This uses the apple turn based hooks in Game Center (it won't work for cross platform, but it's a great way to start as it means you won't have any server fees
Good luck! [1]: http://www.prime31.com/unity/
These are our opinions, remember that matt991! As such, I never hinted that it wasn't possible with Unity3D, I just don't think Unity is the right choice for a 2D puzzle game.
Thank you. That plugin look like exactly what I need. $$anonymous$$ain goal is to add social networking components to the game and across multiple platforms. I would rather keep with Unity ins$$anonymous$$d of learning something new and having to start over.
Answer by dannyskim · Apr 03, 2012 at 06:07 PM
It really depends on how you plan this game out. If you want wide spread usage, and eventually want the game to span out to a large audience of people, doing ad-hoc gaming is out of the question. People EXPECT social networking capabilities, and if you simply include no option to do this from you application, then it will fail no matter how good the game is, especially in the mobile space.
So you really have to think objectively at this point, and by no means am I trying to be a downer, but I'm simply a realist:
Do you really need a 3D engine for this type of game? Unity's built in over-head is 7mb for an empty scene with all package size optimizations in place.
Are you experienced with handling multi-user, social-network type of environments? It's not a terribly complicated task when you think about it, but is quite the opposite when you engage in practicing it.
Have you taken a look at Apple's Game Center turn by turn multiplayer solution? If this is attractive to you, are you planning to launch on Android and make it cross platform? If so, platform agnostic solutions are your best choice, which means making your own servers possibly.
Even if you are familiar with social-networking, are you able to create a user-database server for user's that don't use social networking at all for gaming? Creating usernames that are dynamic and unique, tracking analytics for each of these, e-mailing and text messaging invites, etc.
There is a lot more that goes into a game of this type. If I were to answer you directly, then a server based solution is the way I would go if I wanted the ability the reach the most players as I possibly can. If you don't want all the feature sets that games like Words with Friends, Scamble, Draw Something, or similar games, then yes, ad-hoc gaming is possible. It just won't get you very far.
Thank you for your answer. Do you happen to have a suggestion on game engines that would be better for a 2D board game? Unity is the engine I know best, which is why I started using it but I figured it wasn't the best engine for this type of game.
The only other mobile development engine that I have a reasonable amount of experience with and can actually make a recommendation for is Cocos2D. With the release of Cocos2D-X, you can also use your existing code base to port to Android as well, making an already strong and robust engine even better. Granted, you'll have to learn how to program in Objective-C, but for the type of game you're wanting to make, I think moving to an engine that was designed with 2D in $$anonymous$$d would be your best bet.
Cocos also has a large community base like Unity, not nearly as big, but more than enough to get you off your feet. There is also a 3D variant, Cocos3D if you decide to make a changeover in the future as well.
If you're a really strong coder and are confident about your capabilities, then ultimately I would recommend making your own engine on top of $$anonymous$$armalade. This would be the best solution at of any available I$$anonymous$$O, but you'd have to be a very advanced programmer to tackle a project in $$anonymous$$armalade.
If you want to make a social game you want it on as many platforms as possible which makes Unity a great choice.
Answer by vikingfabian-com · Aug 30, 2014 at 03:00 PM
Google play has some server network solution that works with both iOS and Android (have no experience by it myself). They got a tutorial online, search "Google Play Turn-based Multiplayer in iOS"
There are a couple of examples you can buy in Asset store for both Game Center and Android. Most of them seem a bit incomplete though.
Your answer
Follow this Question
Related Questions
Authoritative server basics Unity 5.2 0 Answers
Server software for multiplayer turn-based RPG like Pokemon 1 Answer
Mechanim messes up positions for model 0 Answers
Turn-based Multiplayer Board Game Storage 0 Answers
Multiplayer ID's? 1 Answer