Online 1 vs 1


I have being working on my game and i will try to make it online.
So are there a good online template to make an online game?
It have to do so you can chose a server and you can see how many there are at the server and if there are 2 at the server you cant go to that server.
Then you have to take another one.
PS: its to 2d fighting game and it played in 1 vs 1.

Sorry for my bad english i´m danish:)