In the context of a task, I develop a simple LAN network games. But there is a very specific requirement, I can not really get to hang with the normal development of network applications.
My players must agree on the position (score) and the position of the other players on the map. I think it's against all forms of logic, as in other forms of gambling serve I have been to work, it has always been the server as specified ultimate.
Immediate Bart, I would solve it by sending a Game State containing information about what player A sees when playing A move of his piece. And then send it on to player B and player C.
But the problem is what happens when more players are doing something together. How can we validate what is correct?
One solution would be for example. timestamps, but then clients do not AGREE since there would eventually be one that is more properly one of the others.
So I can not get into my heads how clients can agree on anything on a network. It should just be the server (game host) which provides (alm. simple broadcast).
Some ideas on what can be considered to be "agreed"?
Bookmarks