spsquared / BattleBoxes_Multiplayer

BattleBoxes, but it's multiplayer! Large maps and free-for-all playing! Be sure to read README.md!
https://www.youtube.com/channel/UChK4S12w_jjJs_c-jQh8WMQ/
GNU General Public License v3.0
3 stars 4 forks source link

SUGGESTION - Add the ability to play multiple games on one server #70

Closed SampleProvider closed 3 years ago

SampleProvider commented 3 years ago

Is your feature request related to a problem? Please describe. I'm always frustrated when someone presses ready with another player online and I can't play on the server.

Describe the solution you'd like Anyone else will join the lobby and will be able to play in a different game. Chat messages will be global across the server.

Describe alternatives you've considered Run multiple servers, however bad.

Additional context insert context here

spsquared commented 3 years ago

This might impact performance negatively if there are too many games running and it will require a rewrite of code in multiple different places. But might try.

spsquared commented 3 years ago

Most games do search for a different server if a server is not available to keep simplicity.

spsquared commented 3 years ago

Looking at how JavaScript works, it will be more resource-efficient to run multiple servers than to run multiple games on one server, since it is a single-threaded language. So instead of having multiple low-TPS games on one server it would be better to run multiple servers.

In short, no, this will not be added.