Hey everyone,
For setting up Exercise 12.15, I was unsure how to do this. Originally I planned to add another value of " " to alphabet to represent wild card, and then do a separate if loop for if this occurred but I realized " " is not a character so it doesn't work. Can you give me an idea of how to perform this exercise 12.15?
Here is the exercise:
Exercise 12.15. In real Scrabble, there are some blank tiles that can be
used as wild cards; that is, a blank tile can be used to represent any letter.
Think of an algorithm for canSpell that deals with wild cards. Implement it into your code.