Sign in to follow this  

**************Two player pong***********

This topic is 4865 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, I'm beginner in the field of directx (game programming). I'm facing problem in implementing PONG game in network. As I posted the message before that my PONG works fine in same computer(in which one window is server and other is client).But as I try to play the game between two machine it's become too slow. What actually I'm doing is as follows:- 1)I'm using TCP. 2)server side:- for loop { a)receive data(size of message from client and message paddle2) b)send data(paddle1 position and ball x,y position) c)rendering(displaying the paddle and ball) } 3)client side:- for loop { a)send data(paddle 2) b)receive data(paddle1 and ball ) c)rendering. Kindly ,help me .

Share this post


Link to post
Share on other sites

This topic is 4865 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this