Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Create Simple Multiplayer


Barak Inbal
 Share

Recommended Posts

Hey I want to create a simple Tic Toe Multiplayer Mobile game using phaser 2.

The game need to support the following modes:

  1. Multiplayer between 2 anonymous players
  2. Multiplayer between 2 google account players
  3. Multiplayer between 2 facebook account players

I have the following questions:

  1. How can I implement this? using websockets or pooling?
  2. Do I have to use socket.io inroder to implement websocket communication between 2 mobile players?
  3. Which other libraries do I can use for creating moblie multiplayers between 2 players?

 

Thanks in advance

Barak Inbal

Link to comment
Share on other sites

There's a good talk on introduction to use websockets with node and phaser here. And the code from the talk is here: https://github.com/fullstackio/ng-game/tree/master/client/src/scripts

It doesn't talk about social authentication though. I know that Django +  python-socialauth + django-channels supports websockets and social authentication but not sure how comfortable you are with django.

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...