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
Happy trails...
Extra Features
There are a few stories that were left in the backlog, try giving them a shot!
- As a prompter, I should know the name of the guesser so that things can appear more friendly.
- As a prompter, I should know the highest score, so that it can be used to encourage competition.
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
You should be proud
of what you've accomplished here.
0:00
Let's take a moment
to appreciate what you've learned.
0:00
You started with basic Java syntax
and built up to creating multiple classes
0:02
that work together.
0:06
We covered objects, methods, constructors,
0:08
and how to organize code
and the logical components.
0:10
The game you built demonstrates
some important programming principles.
0:14
Notice how the Game class handles
all the game logic,
0:18
like tracking guesses, managing tries,
and determining wins,
0:20
while the Promptor class focuses
entirely on interacting with the user.
0:24
This separation makes your code easier
to understand and modify.
0:28
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