Skip to content
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

Allow Catniss to "stalk" other players (if a match isn't found) #34

Open
5 tasks done
nstringham opened this issue Sep 29, 2022 · 2 comments · Fixed by #112
Open
5 tasks done

Allow Catniss to "stalk" other players (if a match isn't found) #34

nstringham opened this issue Sep 29, 2022 · 2 comments · Fixed by #112
Assignees

Comments

@nstringham
Copy link
Member

nstringham commented Sep 29, 2022

If there is an odd number of players and Catniss cannot find a match that round, she should be able to select a matching pair to view their entire chat log during the chatting phase. so that she doesn't feel left out that round.

Tasks:

  • Assign random player as stalker after checking odd # of players in Backend
  • Display chats as buttons with who is talking with who in Frontend
  • Chat buttons should be clickable which will take user to selected chat in Backend
  • Stalker should be taken to stalker component in Backend.
  • Stalker should join a chat anonymously with read-only function Backend.

Acceptance Criteria

  • If there is an even number of players in the lobby, this pseudo-role does not exist until there is an odd number.
  • If there is an odd number of players, one player selected at random will become a stalker
  • If the user is the stalker, they should be shown the current pairs in the round to which they can select which pair they want to stalk
  • When stalking, they should be able to see the current chatting between the selected pair
  • If the user is not the stalker, they would play the chatting phase normally
  • If the user is being stalked, they should not be able to see that they are being stalked until the voting phase
  • A hacker shouldn't be able to see if they are being stalked
  • A hacker who is the stalker should not be able to stock more than one pair
  • A hacker w should not be able to influence who is the stalker
@mrjoshua520 mrjoshua520 moved this from 🔖 Ready to 🏗 In progress in Project Backlog Oct 13, 2022
@mrjoshua520 mrjoshua520 moved this from 🏗 In progress to 👀 In review in Project Backlog Nov 1, 2022
@mrjoshua520 mrjoshua520 linked a pull request Nov 8, 2022 that will close this issue
@nstringham nstringham moved this from 👀 In review to 🏗 In progress in Project Backlog Nov 9, 2022
This was linked to pull requests Nov 9, 2022
@njumaah njumaah moved this from 🏗 In progress to 👀 In review in Project Backlog Nov 10, 2022
@njumaah njumaah moved this from 👀 In review to ✅ Done in Project Backlog Nov 10, 2022
@nstringham nstringham moved this from ✅ Done to 🏗 In progress in Project Backlog Nov 10, 2022
@njumaah
Copy link
Member

njumaah commented Nov 10, 2022

criteria: A hacker shouldn't be able to see if they are being stalked is the only thing left to do

@njumaah
Copy link
Member

njumaah commented Nov 12, 2022

take stalker out of viewers list. try putting chatid inside the private players

@njumaah njumaah moved this from 🏗 In progress to ✅ Done in Project Backlog Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants