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

Only one player can request a question to be picked #33

Merged
merged 2 commits into from
Apr 5, 2013
Merged

Only one player can request a question to be picked #33

merged 2 commits into from
Apr 5, 2013

Conversation

mihai-varga
Copy link
Contributor

  • restored the game's original idea, that only the player who answered correctly can choose the next question, or if the one how buzzed answers false, a random player is chosen to be the one who picks next.
  • fixed some excessively long comment lines
  • i have set the player's name in the message box in bold, so that the admin can more easily identify the player.


#numActivePlayers now holds the number of unmuted players still ingame

availablePlayers = []
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

creates a list of available players, so when it generates the random number, i doesn't need to check again if the player is available

dfilimon added a commit that referenced this pull request Apr 5, 2013
Only one player can request a question to be picked
@dfilimon dfilimon merged commit 4bbe1ed into dfilimon:cdl Apr 5, 2013
@dfilimon
Copy link
Owner

dfilimon commented Apr 5, 2013

Thank you! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants