How do I create a multiplayer game?

Hello, I have been wanting to make a multiplayer game as well, What if instead of Firebase you used Web viewer and set up a website with your game. Then you could have fast connectivity over the web for multiplayer. just a thought.
_junko