fix win logic error

This commit is contained in:
adam committed 2025-02-07 15:39:05 +00:00
1 parent 0cf5a68052
commit 7e280ce64b
1 file changed
+2
+2
View File
@@ -247,6 +247,8 @@ function check_guess() {
declare chars=""
declare -ga yellows=()
declare -ga greens=()
for (( i=0; i<WIDTH; i++ )); do
[[ "${_answer:i:1}" != "${_guess:i:1}" ]] && chars+=${_answer:i:1}