From fba5cc07aef7a51013b40c32ff444d38a20e5ed3 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 14 Feb 2025 16:14:31 +0000 Subject: [PATCH] fix pool issue bug --- wordle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}/_}"