Hi,
@Andres:
the advantage of the IRC method is that the connection to the server must be kept alive. so it is possible to find a ping timeout very quick. with php there is the problem that a player has to establish a connection to the script, when ...
... he joins the lobby
... he starts playing a game
... he leaves the lobby
It is also important to implement a few secruity stuff for example to avoid script-visits by normal browsers.
So I decided to use the easy IRC method. Perhaps I can try to implement proxy support for the IRC client later.
I'm still wondering about your picture. Is this one player or tow players with the same color? I thought I made the second situation impossible.
regards,
D2006
@Andres:
the advantage of the IRC method is that the connection to the server must be kept alive. so it is possible to find a ping timeout very quick. with php there is the problem that a player has to establish a connection to the script, when ...
... he joins the lobby
... he starts playing a game
... he leaves the lobby
It is also important to implement a few secruity stuff for example to avoid script-visits by normal browsers.
So I decided to use the easy IRC method. Perhaps I can try to implement proxy support for the IRC client later.
I'm still wondering about your picture. Is this one player or tow players with the same color? I thought I made the second situation impossible.
regards,
D2006