Player 2 is able to enter any string of any length. This string is then displayed for Player 2. The displayed string initially replaces every character "ch" such that Character.isLetter(ch) equals true.
All non-letter characters (digits or punctuation) are displayed in clear text in their appropriate places.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Design:
Player 2 is able to enter any string of any length. This string is then displayed for Player 2. The displayed string initially replaces every character "ch" such that Character.isLetter(ch) equals true.
All non-letter characters (digits or punctuation) are displayed in clear text in their appropriate places.