Skip to content

Support Branching Paths Implicitly #29

Description

@agincel

Describe the problem

Some wordchains have branching paths (anagrams which start with the same letter). Iterating over all possible wordchains in advance and numbering then via an alphabetical order depth-first search for all anagrams would make this feel less confusing.

Describe the proposed solution

Firstly, remove or modify the feature that only allows a single play a day - this would allow players to try and find alternate paths. Folks tend to want to try again anyway, so one way or another being allowed to retry could be cool?

Next, iterate over the wordchain. If a chosen word has any anagrams which start with the same letter, iterate over each in alphabetical order, continuing their respective wordchains from there.

Number these finished wordchains, and if there exists more than one, add a new row to the results copy/paste. Maybe something like:

Wordchain #X (MM/DD)
✅ 7/7
🏁 75.11s
🔀 Branch #2
https://wordcha.in/

Alternatives considered

Alternatively, we could write a script to go through the dictionary to remove any instances of words which are anagrams and share a first letter. There probably aren't all that many, and it would remove the possibility of branching paths.

ALTERNATIVELY alternatively, you could do what Wordle does and just prescribe a correct word for the wordchain, ignoring alternate valid words. In such a case it would probably be worthwhile to change the error red flash to a yellow warning flash with a message like "Wrong Word!"

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions