Some questions about multiplayer game programming

Hi folks,

I’m new on this forum.First of all,hi for everyone :).I have some questions.

I’m using client-server model.

  • I’m programming a multiplayer game with Kryonet library.I want to create some rooms which will contain 8 players for each.How can i represent rooms on server?
  • How can i be sure about that my server is always alive?
  • I’m using box2d for physics.I must use a different box2d World for each game room.Is creating a new thread for each game room logical?
  • I’m sending velocity,direction,position values with 60hz.How can server get all the packets for 1600 concurrent users?If i have 200 room and 8 players in each room that means 60*1600 packets for each second.Can server handle this?

Thanks in advance

No.

You need to send packets less frequently, and use interpolation to smooth things out client-side.

Can i have the src to tht program?