mvevans89 / woRdle

MIT License
1 stars 0 forks source link

add a check for word length #2

Closed mvevans89 closed 2 years ago

mvevans89 commented 2 years ago

While there is currently something to make sure the word is actually a word, there is nothing to check it is the right length (5 letters). Submitting the incorrect length will likely break things.

rlrichards commented 2 years ago

Yes. Submitting a 6 letter word adds the 6th letter as the first letter of the next word in the graphic. Not sure what happens under the hood but it does appear to reset the checker for the next guess. It just doesn't reset the row of the graphic.

rlrichards commented 2 years ago

At the end of the game it does spit out warnings for the length mismatch.