barkai36 / barkai36.github.io

0 stars 0 forks source link

Fix letter coloring #1

Open barkai36 opened 2 years ago

barkai36 commented 2 years ago

Same letter in word get wrong color. The same letter will be colored in the same manner across the word, no matter how many times it actually exists.

Example: Secret: HEIST

  1. Guess: TRAIT Coloring (Wrong) T - Yellow,.....,T - Green Coloring (Right): T - Gray,....,T - Green

  2. Guess: STATS Coloring (Wrong) S - Yellow,T - Yellow,.....,T - Yellow Coloring (Right): S - Yellow, T - Yellow,....,T - Gray