Barak Inbal Posted March 17, 2018 Share Posted March 17, 2018 Hey I want to create a simple Tic Toe Multiplayer Mobile game using phaser 2. The game need to support the following modes: Multiplayer between 2 anonymous players Multiplayer between 2 google account players Multiplayer between 2 facebook account players I have the following questions: How can I implement this? using websockets or pooling? Do I have to use socket.io inroder to implement websocket communication between 2 mobile players? 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 More sharing options...
Gammerr Posted March 20, 2018 Share Posted March 20, 2018 The idea sounds great, I wonder if it's possible with Phaser Link to comment Share on other sites More sharing options...
pebb Posted March 21, 2018 Share Posted March 21, 2018 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 More sharing options...
Recommended Posts