New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restrict to 2 spymaster modes per game #66
Comments
I had a go at fixing that issue the other day, but the implementation is pretty questionable. It counts the number of people who have become the Spymaster in a game then prevents anyone from pressing the button after 2 people had joined. |
I guess, it could be an idea, if the opener of a room could set a password for the "Spymaster" function. Would that be possible? |
Just got another idea. If you change to spymaster once, you should not be able to switch back anymore. |
I was something along the lines on the first idea @Pumpido75 had. |
I came up with the idea, to play the game during a video conference and share the screen of the spymaster, not including the URL at the top. |
Anything we do here will need to be optional, because it creates unnecessary friction in the common case where you trust your friends. It's also worth noting that under the hood, the server sends the same state to everyone. If you add some restriction to just the frontend, anyone who knows how to use the Chrome inspector can still cheat.
One complication would be the 'next game' button. In my experience, people typically like to switch up the spymasters each game, and they probably don't want to recreate the game each time to do so. I still have a hard time imaging a scenario where someone would want to cheat in a digital board game amongst friends. ¯\_(ツ)_/¯ |
That's true. By the way: My only problem is, that it's just in english. |
This is great! - Thanks!
|
I'd think the best way to do this would to just show a little count of the number of people who have viewed the current board, and highlight it in red if it goes over 2. Showing the number of people who have seen the current board even when <= 2, would reduce the likelihood of someone thinking they could get away with a quick look. It may even make the game feel smoother, so you can visibly watch people claim the role of spymaster through that ticker, potentially precluding the situation where you need to restart the round right after beginning, when three people click to be spymasters unknowingly. It'd suffer from the same issue mentioned above where a spymaster who leaves and re-joins would incorrectly up the count to 3, but between friends that would need nothing more than a quick explanation. A team could conspire to lie in that way, but the number of such teams must be much lower than the number of individuals who'd chance a quick peek when they're stumped.
I'd imagine this would consist of giving every new join a unique ID, and for every board, saving a list of This all could lead to potentially trust-shattering debates (potentially even between the wrong people) if the third spymaster-clicker doesn't confess - so maybe show everyone's ID subtly on their screen somewhere, and have a little I've been missing React, so I'd be interested in implementing this idea @jbowens, if the base concept is agreeable. |
Is there a way to restrict and/or make it transparent if a player is trying to view the key by switching to spymaster? - that will prevent any cheating
The text was updated successfully, but these errors were encountered: