diff --git a/wordle b/wordle index 7f9fe87..57a74ad 100755 --- a/wordle +++ b/wordle @@ -327,7 +327,7 @@ function check_guess() { YELLOWS[$_row,$c]="${_char}" # stores all yellow from all rounds BOARD[$_row,$c]="${YELLOW}${BOLD}${LETTER} ${_char} ${UNBOLD}" fi - + [[ "${ANSWER}" =~ ${_char} ]] && continue [[ " ${yellows[*]} " =~ ${_char} ]] && continue [[ " ${greens[*]} " =~ ${_char} ]] && continue POOL="${POOL/${_char}/_}"