public String pattern() {
        String str = "";
        for (int i = 0; i < this.word.length(); i++) {
            if (this.guesses.contains(this.word.charAt(i))) str += this.word.charAt(i) + " ";
            else str += " - ";
        }
        return str;
    }