Hello,
i´m currently working on multiplayer modes for my further programmed games like Ping Pong Tetris etc.
I have a debain based root Server so I´m using it as Server, (my router doesnt support portforwarding, so I have to use it).
First i started with Tetris and it was no Problem i used TCP, the Clients only send the information from their blocks to the Server and he spread this Informations to the other Clients, all no Problem.
But now I´m trying to do the same with Ping Pong. At the Moment the Server does all the Work, the Clients only send their keyinputs and the Server send all the information about the positions etc (every frame). The Problem is, it´s lagging and i have no idea how to make it better.
Should i use UDP? Or is there a better way to manage the informations?
P.S sry for my English but i´m not a native speaker