cards-of-carousal
cards-of-carousal copied to clipboard
[BUG]: You can kick all players from the settings menu
Linked User Story: n/a
Device Used: Laptop
Browser(s) Used:
- [x] Chrome
- [ ] Safari
- [ ] FireFox
- [ ] Other: __
Environment:
- [x] Production
- [ ] Staging
- [ ] Localhost
Description
Expected Behavior
You should only be allowed to kick players down to the minimum number of players needed to play (I think this is 2)
Actual Behavior
You can kick every single player and have the only person left as the czar
Screen Shot/Screen Video Capture
n/a
Replication Steps & Data
- have at least 2 devices or browsers open
- Host on one device
- join from your other devices
- Kick all players who are not the czar
User Story
As a player, I want to be notified/not be allowed to kick players if it would mean there are not enough players to play anymore (at least host 2), so that that the game can not be played with just the czar or the czar and one other player.
Acceptance Criteria
- [ ] If you only have 2 players left, and you try to kick one you should get an alert saying something along the lines of "You can't do that/This will end the game"