For a long time, it has not been possible to do serious multiplayer gaming in the browser due to the lack of support for UDP. That is why we decided to develop Pigeoneer.
Pigeoneer is a network transport library that allows your game client, running on the browser, to communicate through UDP with your game server. This enables you to use the client-server architecture used by many multiplayer games as well as the same netcode.
We are also looking at extending Pigeoneer to support P2P connections as well.
This article is incomplete
We are still working on finishing this article, we're aiming to have it ready by the end of August 2020.
Updated about a month ago