Changes in the protocol needed to show games info in lobby
Moderator: Forum Moderators
-
- Inactive Developer
- Posts: 173
- Joined: January 15th, 2004, 5:09 pm
- Location: Zaragoza, Spain
- Contact:
Changes in the protocol needed to show games info in lobby
I'm trying to code task #2977.
The idea is to show some of the game info before joining the game (i.e., to make up a decission of which game to join).
Some info can go directly in the table:
Name Status Players Turns
Miyo's game On play 3/3 40
Isaac's game Waiting 2/3 20
And less important info can appear as a tooltip when the mouse goes over a game.
Currently, when a players connects to a server and joins the lobby, he/she only receives a gamelist like this:
It should be necessary to change the protocol, in order to have the player receiving all the info about the games when he joins the lobby.
Any suggestions or problems?
Thanks
The idea is to show some of the game info before joining the game (i.e., to make up a decission of which game to join).
Some info can go directly in the table:
Name Status Players Turns
Miyo's game On play 3/3 40
Isaac's game Waiting 2/3 20
And less important info can appear as a tooltip when the mouse goes over a game.
Currently, when a players connects to a server and joins the lobby, he/she only receives a gamelist like this:
Code: Select all
[gamelist]
[game]
id="1"
name="miyo's game"
[/game]
[game]
id="2"
name="Isaac's game"
[/game]
[/gamelist]
[user]
name="isaac"
[/user]
[user]
name="miyo"
[/user]
...
Any suggestions or problems?
Thanks