wordle_clone icon indicating copy to clipboard operation
wordle_clone copied to clipboard

Declare a variable with the length of the correct answer

Open alanakra opened this issue 2 years ago • 1 comments

To avoid being limited to 5 letter words, I declared a new variable rightGuessLength which takes into account the length of the correct answer to generate the cells in the array and the loops to check the matches.

alanakra avatar Jan 12 '23 12:01 alanakra

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
wordle-clone ✅ Ready (Inspect) Visit Preview Jan 12, 2023 at 0:53AM (UTC)

vercel[bot] avatar Jan 12 '23 12:01 vercel[bot]