HamidByte / HamidByte/Guess-the-Word-Javascript-Game

In a single game same word should not repeat

Open
#13 0 comments 0 reactions 1 assignee Claimed by @HamidByte View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.