I'm writing my own RTS game in Delphi. Single-player part is almost done and works well and I'm thinking about adding multi-player to it now. There's going to be a lobby where players should be able to chat and organize games. I tried googling for a convenient way to do it, but couldn't find anything related ..
My idea looks like follows:
- Players are identified by Names they choose and their IPs
- There's main chat area where all players meet
- There are rooms, where players may select game options (map, teams, flag colors, etc..).
- After everything is settled players exchange IPs and multi-player engine starts.
I want to avoid usage of server-side software. Currently I'm looking into running everything through SQL database where each player commits posts and his state and reads other players posts/states.
Whats the common practice of organizing in-game chat lobby?