fix strict hard mode pool bug with double letters
This commit is contained in:
1 parent
a7a19d33b6
commit
8d92cfe57d
1 file changed
+1
-2
@@ -318,9 +318,8 @@ function check_guess() {
|
||||
yellows[c]="${_char}" # volatile - stores previous row yellows
|
||||
YELLOWS[$_row,$c]="${_char}" # stores all yellow from all rounds
|
||||
BOARD[$_row,$c]="${YELLOW}${BOLD}${LETTER} ${_char} ${UNBOLD}"
|
||||
else
|
||||
POOL="${POOL/${_char}/_}"
|
||||
fi
|
||||
|
||||
[[ " ${yellows[*]} " =~ ${_char} ]] && continue
|
||||
[[ " ${greens[*]} " =~ ${_char} ]] && continue
|
||||
POOL="${POOL/${_char}/_}"
|
||||
|
||||
Reference in new issue
Block a user