On Wed, May 26, 2004 at 02:58:40PM -0400, Ron Isaacson wrote:
>3. Filter the list of possibilities to those which could be the
> target, based on the letters you already know (i.e. if your guess
> is currently "he__o", remove all possibilities that don't match
> /^he..o$/)
Y'know, you can be a lot more aggressive than that in pruning the list
of possible words.
Say you've guessed h, e, o and also t, a, n incorrectly. Your target
word matches not just /^he..o$/ but /^he[^heotan][^heotan]o$/ .
That's what my player does - it's otherwise identical to the one you
describe. I'll run some stats on it later.
Roger
|