You should be able to find tutorials on how to create a lobby. It depends on how you’d want things to be set up and also, how you want your database to function. A bit of warning though, there is a lot more to a ‘online’ game than a single player one. Good luck