Summary: I'd like to request for the websocket connection to support https. Use ws if over http and use wss if over https.
Thanks for making this game, I enjoy the ease of playing with a rules enforced simulator. One problem I noticed when trying to play multiplayer is that most services that share localhost with the internet, such as cloudflare tunnel, does so over https.
The websocket connection in marvel.js is hardcoded to use ws which does not work over https. If I manually change it to wss (the secure version), I'm able to get the site to work when served over https.