SmartZoos / Toolset

Gaming platform for SmartZoos project
MIT License
0 stars 1 forks source link

Players can share URLs, leading to multiple players of one game instance #131

Open kaimikael opened 7 years ago

kaimikael commented 7 years ago

If players share the URL of a started game, they will all be playing the same instance, answering each other's questions. We need some way of avoiding this happening.

pjotrsavitski commented 7 years ago

We could determine if an anonymous game has been started during the current session (might even store that info on a device as cookie or session/local storage), then display some warning to the user. This way it would be playable, but the user will be notified that it could possibly create a mess.

This way one could just copy the URL of the game from one device to the other and still play it, yet there will be a warning shown about that.

The other way would be to just lock the possibility of playing through a game anonymously to just within the duration of current session or on current device.

kaimikael commented 7 years ago

I think it would make sense if sessions were keyed to the device, so that each device will have a separate version of an anonymous game.