-
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
final project, previous commits not available because I cloned the wr… #25
base: master
Are you sure you want to change the base?
Conversation
Word-Guess GameWhat We're Looking For
|
|
||
|
||
|
||
class Solution |
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.
The class name here is not great. Objects made from this aren't solutions, they are tracking progress against a secret word. So maybe SecretWord
or WordGuess
would make sense. It's also mixing logic with gameplay features and output.
|
||
test_guess_record.get_number_of_guesses | ||
|
||
#piranhas_needed = test_guess_record.get_number_of_guesses |
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.
I think the reason this wasn't working is that it counts correct guesses
end | ||
|
||
def replace_blank_with_successful_guess(identified_match_positions, user_guess) | ||
original_guess_solution_array = @guess_solution_array |
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.
This is never used
…ong file.
Word Guess
Congratulations! You're submitting your assignment.
Comprehension Questions