how should I network my turn based game?

Posted by ddriver1 on Game Development See other posts from Game Development or by ddriver1
Published on 2012-06-16T11:55:44Z Indexed on 2012/06/16 15:23 UTC
Read the original article Hit count: 531

Filed under:
|
|
|

I'm writing a very basic turn based strategy game which allows a player to select units and attack enemy units on their turn. The game is written in Java using the slick2d library and I plan to use kyronet for the networking api.

I want the game to be networked, but I do not know how I should go about it. My current idea is to connect two users together, and the first one to join the game becomes the game host, while the other becomes the client.

However after reading http://gafferongames.com/networking-for-game-programmers/what-every-programmer-needs-to-know-about-game-networking/ it seems my game would be suited to a peer to peer lockstep model. Would that make programming the networking side much easier?

Any suggestions on how I should structure my networking would be greatly appreciated

© Game Development or respective owner

Related posts about java

Related posts about networking