The custom word feature, as currently implemented, rejects custom solutions that are not in all_words. It likewise rejects guesses that are not in all_words.
However, I want the custom word feature to support nonexistent/user-generated words, so that users to make games based on inside jokes or memes. However, this produces 2 very different possible rulesets for a game using a non-real word as its solution:
If the custom solution is not a real word, then guesses don't have to be real words. Example: if the solution is fooby, guessing foozo is valid (and results in 3 green boxes and 2 red boxes).
If the custom solution is not a real word, then guesses have to be either real words, or an exact match with the custom solution. Example: if the solution is fooby, guessing foozo returns an error because foozo isn't in all_words.
In either case, users should know that the solution isn't a real word.
The custom word feature, as currently implemented, rejects custom solutions that are not in
all_words
. It likewise rejects guesses that are not inall_words
.However, I want the custom word feature to support nonexistent/user-generated words, so that users to make games based on inside jokes or memes. However, this produces 2 very different possible rulesets for a game using a non-real word as its solution:
fooby
, guessingfoozo
is valid (and results in 3 green boxes and 2 red boxes).fooby
, guessingfoozo
returns an error becausefoozo
isn't inall_words
.In either case, users should know that the solution isn't a real word.