HamidByte / HamidByte/Guess-the-Word-Javascript-Game
In a single game same word should not repeat
Open
type: bug
type: enhancement
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
As long as user did not refresh the page, user should not be able to see the same random word again.
Store the doneWords in an array and check if the random word is in the array or while acquiring random number it should not consider doneWords from the dataset.
But if the whole dataset is completed then reset the doneWords and start random from entire dataset again.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.