I have a implementation working now where every single room has a global variable "isOpen" that is set to false when the game starts and set to true when the game finishes. I have hundreds of rooms however, and per the documentation (http://docs2x.smartfoxserver.com/DevelopmentBasics/server-variables), this may be a problem with heavy traffic:
isGlobal: a global Room Variable is visible from outside the Room. This means that any user will be able to access it and receive updates even if he's not joined the Room. Running too many global Variables can use significant bandwidth in a high traffic server. Use with moderation (default == false).
Is there a more efficient way to create a flag that is visible outside of the room that the client receives in updates?