1. The hint prompt is displayed after the secrete word is successfully stored.
2. The hint word is stored and displayed every time the dashed guess space is
rendered. Example:
- - - - - - a -
Hint: My Hint
> Enter a letter: h
h - - - - - a -
Hint: My Hint
------------------------------------
Function reuse:
readLine() can be used to retrieve a line of input from the user
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Design:
1. The hint prompt is displayed after the secrete word is successfully stored.
2. The hint word is stored and displayed every time the dashed guess space is
rendered. Example:
- - - - - - a -
Hint: My Hint
> Enter a letter: h
h - - - - - a -
Hint: My Hint
------------------------------------
Function reuse:
readLine() can be used to retrieve a line of input from the user