Original Post
Hi =) My name is Johan, Im new here, joined today hehe, so.. Hi :D I'm working on a Pong clone but for two players of LAN. My idea is that, I have a server, of course, which runs on one computer, the server waits for two clients to connect, and when the game runs, the server sends information on the Ball X & Y and the clients Paddle X & Y, to both of the clients. And when one of the clients moves his or her Paddle, the client will send the new X&Y pos of the Paddle to the server. The server will always send information on the Ball X&Y to the clients. So, what do you think? Are there better ways to do this? Cause I pretty much dont have any experience in network programming, except for a server-client chat program I've made.