How to add multiplayer/networking to strategy games on iphone?

I've been developing a iPhone strategy game and i don't have any knowledge on to back it with a server and be able to add multiplayer like seen in clash of clans, were the player can see the opponents "base" and be able to attack.

Are they tutorials out there? Also should i make my own dedicated servers? Or go through company?

Any info is much appreciated

Maybe you can try legend of the cryptids, they have a multiplayer function.

before you sign up for this free game, be sure to add me as a ref: Bellflower

If you want real-time processing, you'll need a dedicated server that runs a program you wrote 24/7. You can use your own computer as server for developing purposes though.

If you don't need real-time processing, all you need is a very basic webhosting package that supports PHP and mySQL. This method is much simpler and you should probably start with this. The basic idea is to send back and forth messages. Your game will send a POST request to the server (essentially what a form on a website does), and a PHP document will process this data by accessing the database and possibly return a message.
The only problem is that the server will be passive, meaning your game has to regularly update the "world situation". If you need the server to push events to your game, you're back with a dedicated server running at least a cronjob.

  • What are some free multiplayer iPhone/iPod games? What are some free games that you can play online with friends on the iPhone or iPod? So far I have words with friends, and simpsons tapped out. Also are there any online games where 2 players can play together, sort of like on a console game?
  • What are some FREE multiplayer games on iphone? Just got and iphone and want some multiplayer games that are free.preferably FPS. But I'm open to others. I will be playing online using my Home's internet connection so keep that in mind.
  • What are good strategy multiplayer iphone games? My friend and i are looking for, kinda a complex, strategy game that we can play against each other/with. We want something that takes a lot of strategy to play and which has clans and teams going against each other.clash of clans is a GREAT example of what i'm looking for. Do you guys have any ideas? It can be a tapping game, but just something strategic.
  • What are good multiplayer games apps for iphone? I accidentally downloaded a multiplayer game app called words with friends, and I was surprised by how good it is, I kept playing it for hours, so what are other good multiplayer games apps in the iphone like words with friends?