akshat-jn-crypto / Wordle-clone

Hackoberfest repo
https://Wordle-clone.akshatjain80.repl.co
MIT License
12 stars 26 forks source link

Bug fixes and new game feature #32

Closed g-kabra closed 2 years ago

g-kabra commented 2 years ago

I have added the mentioned fixes as per issue #23.

Changes I have implemented:

Before: image

After: image

There have been some changes done by the formatting tool automatically, which makes the code more compliant to best practices.

akshat-jn-crypto commented 2 years ago

Also add your code snippet.

g-kabra commented 2 years ago

The changes have been implemented like this:

1) Double highlighting issue has been resolved by making a different function to mark it as correct/wrong-location. image

2) New game feature has been implemented by using the startNewGame() function. image

3) RegEx fix is as follows. image