You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in order to start a multiplayer game, players must set up an HTTP server and then connect to it, as well as dealing with HTTP header stuff. This takes a moderate amount of technical skill, which can be frustrating to end users. By embedding an HTTP server into the game's binary, and just having some text when hosting a game saying Tell your friends to point their web browsers to {SERVER_IP}:4000, it would make the game significantly easier to play at little cost. We could legitimately just set up a TCP server, no dependencies needed, as no matter what we're only going to be loading like 3 files total. We would, of course, want to embed the index.html file using include_str, and make sure users can't get remote file system access to any file, only specific hardcoded ones.
The text was updated successfully, but these errors were encountered:
Currently, in order to start a multiplayer game, players must set up an HTTP server and then connect to it, as well as dealing with HTTP header stuff. This takes a moderate amount of technical skill, which can be frustrating to end users. By embedding an HTTP server into the game's binary, and just having some text when hosting a game saying Tell your friends to point their web browsers to {SERVER_IP}:4000, it would make the game significantly easier to play at little cost. We could legitimately just set up a TCP server, no dependencies needed, as no matter what we're only going to be loading like 3 files total. We would, of course, want to embed the index.html file using include_str, and make sure users can't get remote file system access to any file, only specific hardcoded ones.
The text was updated successfully, but these errors were encountered: