Spaces:
Build error
Build error
Fix bug in mask update state
Browse files73 unmodified lines7475767778798073 unmodified linesfor i, c in enumerate(word):cint = ord(c) - ord(WORDLE_CHARS[0])offset = 1 + len(WORDLE_CHARS) + cint * WORDLE_N * 3if mask[i] == SOMEWHERE:prior_maybe.append(c)# Char at position i = no, and in other positions maybe, other chars stay as they are73 unmodified lines7475767778798073 unmodified linesfor i, c in enumerate(word):cint = ord(c) - ord(WORDLE_CHARS[0])offset = 1 + cint * WORDLE_N * 3if mask[i] == SOMEWHERE:prior_maybe.append(c)# Char at position i = no, and in other positions maybe, other chars stay as they are
wordle_env/state.py+1-1