in reply to Challenge: Design A Better Hangman Algorithm
Stumbled on this (and the previous) old thread. Thought I could provide some input even if the thread is dead.
Strategy in this thread up to this point:
I would suggest one more deterministic strategy before getting to (3): entropy and distribution.
Suppose we have the following five candidate words: aacd, aaef, bbgh, bibj. Using rules listed in (2), letters 'a' and 'b' are still tied.
However, it's clear that guessing 'b' will give us more information than 'a'. While guessing 'b' would reveal the solution, guessing 'a' would not. This is because 'b' is more evenly and chaotically distributed throughout the length of the words, allowing the step (1) in the next guessing round to narrow down candidate words even faster.
|
|---|