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 build out the starts of our objects, thinking heavily on Separation of Concerns. We will focus on separating the display and prompting from the game logic.
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
Since we've only covered
0:00
console applications so far,
that seems like the obvious choice.
0:01
However, if we do this right,
we should be able to reuse the game code
0:05
that we write, since
0:08
no matter how we end up playing the game,
that logic will stay the same.
0:09
We'll need to make sure
that we separate the prompting
0:14
and displaying portion of the code
from the game state and behavior.
0:17
This approach is called the separation
of concerns, and we'll touch on it here
0:21
lightly, and it'll make a lot of sense
after we get the code up and running.
0:25
But the idea is this.
0:29
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