Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In a single game same word should not repeat #13

Open
HamidByte opened this issue Jul 26, 2022 · 0 comments
Open

In a single game same word should not repeat #13

HamidByte opened this issue Jul 26, 2022 · 0 comments
Assignees
Labels
type: bug Something isn't working type: enhancement New feature or request

Comments

@HamidByte
Copy link
Owner

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.

@HamidByte HamidByte added type: bug Something isn't working type: enhancement New feature or request labels Jul 26, 2022
@HamidByte HamidByte self-assigned this Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant