Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Practice Java Objects - Word Guessing Game!
You have completed Practice Java Objects - Word Guessing Game!
Preview
We will set up the initial state of our Game logic here. We will perform the first half of our first user story.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Sometimes these beginning stories
are a little obvious.
0:00
Of course, a guesser is going to guess,
0:02
but it needs to be stated
so that development will happen.
0:04
Let's think about this.
0:07
Our game object currently holds
what the answer is,
0:09
and now we want to start having it store
0:12
what guesses
have been made towards that answer.
0:13
So this story is requiring that the game
allows the submission of a guess.
0:16
Sounds like we might need to create
a method that accepts a single letter.
0:21
How about ApplyGuess?
0:25
So with that guess, we should be
able to tell if that guess is a hit,
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up