-
Notifications
You must be signed in to change notification settings - Fork 27
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
(Ampers) Kirsten & Leticia - Word Guess #20
base: master
Are you sure you want to change the base?
Conversation
… spcae between the word to be guessed.
…ate word with faker and hint related to word
… was not counting as game over after showing only one chance left...
|
Word-Guess GameWhat We're Looking For
|
# Method to prompt the user for an yes or no answer on the matter of starting the game all | ||
# over again after the game is over (when the user wins or looses). | ||
def play_again? | ||
print "\nThe game is over! Would you like to play again? (Y/N) >".center(60).blue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should, "trap," the user in a loop that doesn't exit until they enter "Y" or "N".
private | ||
|
||
# Method to set string with the color blue and add a new line after it. | ||
def print_line_in_blue(text_to_print) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All methods inside the class should be indented 2 spaces or one tab.
Word Guess
Congratulations! You're submitting your assignment.
Comprehension Questions
In the next comment.