Search Unity

Making a turn based mobile multiplayer 'with friends' game

Discussion in 'Multiplayer' started by mrosenschein, Oct 16, 2017.

  1. mrosenschein

    mrosenschein

    Joined:
    Apr 16, 2017
    Posts:
    3
    Hi everyone,

    I'm working on a simple asynchronous, turn based multiplayer game in the style of Words with Friends. Players take turns whenever they like and are notified when the other player has taken a turn.

    I realize multiplayer is a complex topic and I've been trying to research various backend services that could help. Specifically I've been looking into Amazon Web Services, Braincloud, and Gamesparks. I'm having a hard time deciding between them, can anyone help me figure out exactly what parameters I need to be looking at?

    Thanks a lot!
     
  2. Jos-Yule

    Jos-Yule

    Joined:
    Sep 17, 2012
    Posts:
    292
    The parameters are going to depend on the features you want your game to have, so that makes it hard to say. You are going to need some of the following:

    * Sign in - user accounts (via device ID even, or native libs)
    * Notifications
    * Persistance

    Those are the big 3 I can think of off the top of my head.

    Additionally, more "bare bones" services are, obviously, going to require more time and effort to get off the ground, as you will need more of that boilerplate functionality.
     
  3. Munchy2007

    Munchy2007

    Joined:
    Jun 16, 2013
    Posts:
    1,735
    I haven't ever made a turn based networked game (only real time), and I've never used Amazon web services.

    I have however published a couple of games using GameSparks as a backend service, and I've found it to be an excellent product.

    Its networking aspect seems to me to be geared towards turn based games, therefore I think it might be well worth you having a look at GameSparks.

    It's also free to use below 100k MAU.
     
  4. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
    You could do this with Unity networking, as far as I know, but you'd need to do some heavy lifting. For asynchronous games that need persistent "rooms" with data, you may want to look at Photon Networking (probably their PUN product) as this may save you some work.
     
  5. mrosenschein

    mrosenschein

    Joined:
    Apr 16, 2017
    Posts:
    3
    Thanks for the advice everyone!

    I am also looking at Photon but I'm having a hard time understanding the differences between their services. What is the PUN product exactly and how is it different from Photon Realtime?

    I'll definitely look more into Gamesparks as well.
     
  6. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
    I would ask on their forums, but as far as I know, Photon Realtime is wrapped in a Unity API as PUN... and it uses the Photon Cloud by default... but I too am somewhat inferring here.

    I am sure that they can answer that on their forums. They also maintain a thread here on the Unity forums:
    https://forum.unity.com/threads/photon-unity-networking.101734/
    ... so you could ask there as well, I suppose?