Suugestions for a Turn Based Game

I’ve been away from Corona for what seems like a few years.  I gave up on trying to develop a turn-based game using the existing tools.

Can anyone give me an update on what 3rd party game networking tools are recommended with the current version of Corona SDK? 

Thanks in advance…

Hi @byron5,

Currently, these are some valid options:

  1. iOS:

https://marketplace.coronalabs.com/plugin/apple-gamekit

  1. Android:

https://docs.coronalabs.com/plugin/gpgs/index.html

  1. Cross-platform:

https://marketplace.coronalabs.com/plugin/playfab-client

https://marketplace.coronalabs.com/plugin/gamesparks

https://marketplace.coronalabs.com/plugin/photon-cloud

Hope that list gets you started on possibilities,

Brent

Thanks Brent.

Are there any apps available with source code that use any of the Cross-platform plugins?

I’d love to see a working prototype of a turn-based game that uses these plugins.

I really appreciate any suggestions…looking forward to returning to the Corona Community.

Thanks in advance…

@byron the thing about being a developer is you actually have to do, well you know, develop.  

You actually have to write your own code and debug it.  Strange concept I know :wink:

 I don’t know what your problem is, but I’m guessing it’s hard to pronounce…

@SGS, I think @byron5 wasn’t saying “write my game for me!”, just to see demos/examples using PlayFab, GameSparks, Photon Cloud, etc.

@byron5, I checked PlayFab and I don’t see a Corona demo from them, but that doesn’t mean there isn’t one floating around somewhere. Ditto for GameSparks. Photon Cloud lists a sample here, but I didn’t personally test it.

Anyway guys, lets keep it civil. I’m really bad at detecting biting sarcasm in forum posts, so help me out and don’t let it get there. :slight_smile:

Brent

Thanks Brent… will continue doing some digging.

I have a completed game that I want to integrate one of these tools.

I find it useful to see a good working example to help guide me through the process of writing my own code and then debugging it. :slight_smile:

I’ll update the thread if I find any useful info for other corona users…

I appreciate your help…

@byron

Yes please post your findings here. I would like to see examples too.

I couldn’t find any turn based multiplayer examples for the services mentioned either.

No offence meant…

This would be a good starting point (bit of a heavy read though) - https://docs2.gamesparks.com/getting-started/creating-a-game/corona-setup.html

And here is a full Corona tutorial for a turn-based tic tac toe game - http://appwarp.shephertz.com/game-development-center/corona-realtime-turn-based-game-tutorial/

The second link should really help.

https://github.com/scottrules44/gameKitTicTacToe

https://github.com/scottrules44/gpgsTicTacToe

^here are some gamenetwork examples

Awesome… exactly what I was looking for! 

Love this community!

-B

What I would be interested in reading about is how a turn based game in the style of Ruzzle, WordFeud etc. handles the multiplayer part.

I am pretty sure they work as a combination of push notifications, socket connections and game state updates from the backend.

Do any of the backend services have this kind of system setup already for easy implementation?

Did anyone come across tutorials or articles on this topic?

Thanks.

Sorry for the delay in seeing this post! Hopefully the flowing information will be of some use to you, or anyone else who searches for similar info.

Big thanks to @Brent and @SGS for referencing GameSparks in this post

 

@byron5
With GameSparks we can hopefully get your turn-based game up and running!

You can pick up our SDK with a handy guide on how to install it from here: https://docs.gamesparks.com/sdk-center/

 

As @SGS mentioned you can follow this tutorial on how to set up GameSparks with Corona: https://docs.gamesparks.com/getting-started/creating-a-game/corona-setup.html

Here is another tutorial on how to create an asynchronous tic tac toe game and some basic matchmaking through GameSparks: https://docs.gamesparks.com/tutorials/game-engine-integrations/corona-1v1-asynchronous-match.html

 

@ojnab
As for push notifications I think that this tutorial will be of good use to you:
https://docs.gamesparks.com/tutorials/social-features/configuring-firebase-cloud-messaging.html

This tutorial uses Google Firebase and it will guide you on how to get Firebase set up through GameSparks and how to get your game to allow push notifications to be sent to your players on your behalf. Other than that our tic tac toe tutorial is a really good example of how to create a turn based game with a basic matchmaking system.

Also if anyone needs any help regarding GameSparks please feel free to ask in the forums or contact us on our support page!
https://support.gamesparks.net/support/home

 

Thanks,

Clare

Hi @byron5,

Currently, these are some valid options:

  1. iOS:

https://marketplace.coronalabs.com/plugin/apple-gamekit

  1. Android:

https://docs.coronalabs.com/plugin/gpgs/index.html

  1. Cross-platform:

https://marketplace.coronalabs.com/plugin/playfab-client

https://marketplace.coronalabs.com/plugin/gamesparks

https://marketplace.coronalabs.com/plugin/photon-cloud

Hope that list gets you started on possibilities,

Brent

Thanks Brent.

Are there any apps available with source code that use any of the Cross-platform plugins?

I’d love to see a working prototype of a turn-based game that uses these plugins.

I really appreciate any suggestions…looking forward to returning to the Corona Community.

Thanks in advance…

@byron the thing about being a developer is you actually have to do, well you know, develop.  

You actually have to write your own code and debug it.  Strange concept I know :wink:

 I don’t know what your problem is, but I’m guessing it’s hard to pronounce…

@SGS, I think @byron5 wasn’t saying “write my game for me!”, just to see demos/examples using PlayFab, GameSparks, Photon Cloud, etc.

@byron5, I checked PlayFab and I don’t see a Corona demo from them, but that doesn’t mean there isn’t one floating around somewhere. Ditto for GameSparks. Photon Cloud lists a sample here, but I didn’t personally test it.

Anyway guys, lets keep it civil. I’m really bad at detecting biting sarcasm in forum posts, so help me out and don’t let it get there. :slight_smile:

Brent

Thanks Brent… will continue doing some digging.

I have a completed game that I want to integrate one of these tools.

I find it useful to see a good working example to help guide me through the process of writing my own code and then debugging it. :slight_smile:

I’ll update the thread if I find any useful info for other corona users…

I appreciate your help…

@byron

Yes please post your findings here. I would like to see examples too.

I couldn’t find any turn based multiplayer examples for the services mentioned either.