I was setting up multiplayer and realized it can be quite difficult for non-technical users. For my games, I use cloudflare tunnel to create a sharable URL for the other players to join.
I started to look into it a bit more and realized that WebRTC might be able to do the trick. It allows one browser instance to communicate with another one via direct connection if possible.
Some relevant packages to use WebRTC for multiplayer https://github.com/dmotz/trystero, https://peerjs.com/ Example of a game using WebRTC for multiplayer https://github.com/arcomage/arcomage-hd