Closed kaylittle6 closed 7 months ago
Me too :(
While building the absent
, present
, and correct
fields from the board, check if the absent letter is already in the present
set. If so, add the index to that set. Otherwise, continue on adding it to the absent
list.
The 2nd
E
inTEETH
is likely being added to the not present array, causing logic to fail on any successive guessesNeed to adjust logic to account for this type of scenario