Play online with people

I want that in my game they can play online with other players (4) but I don’t know how I do it so that people can play with others at the same time as in other games and that they have online rooms (although I don’t know if it’s possible)

It is possible, but you will either need JS or to use the network extension but that last one is not viable because too complex and slow.