Multiple Instances of a Multiplayer Game

I have a multiplayer game that is running on a glitch.io server here ([https://glitch.com/edit/#!/battleship-royale-3?path=server.js%3A1%3A0]). I want to add the capability to have multiple games running at once. I’m not sure how to approach this.
Has anyone done something similar before?

Hi @emily and welcome,

Search for a tutorial online on how to provide rooms using socket.io, that way you can create a room per each game/match the players are playing.

Players playing the same match will subscribe and listen to the same room.

1 Like