vendredi 18 septembre 2015

Sustained connection for game development

I would like to develop a simple game in which two players will be interacting. Say like tennis. We are thinking of maintaining our game state on centralized server and then players will send their data to server and whenever one person sends us the data, server will push that data to both the persons.

Problem: We need to maintain a sustained connection between user and server as in table tennis both persons will be exchanging their states on a high speed.

My way of thinking: I am currently thinking to use socket connections but I feel that socket connections will take lot more effort. Anything else I can use for these type of problem?

I will be developing on c# game engine my client side code, can I use java or any other language for developing server side code.



from Newest questions tagged java - Stack Overflow http://ift.tt/1P6S5sJ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire