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

Add info when close from guessing the word #16

Open
xavierfav opened this issue Apr 23, 2020 · 0 comments
Open

Add info when close from guessing the word #16

xavierfav opened this issue Apr 23, 2020 · 0 comments

Comments

@xavierfav
Copy link
Member

When typing the word to guess in the chat, we often do typos, which can be a bit frustrating.
It would be nice to tell users that they are close from the correct answers.
For that we can use string-similarity or similarity to compute the similarity between the word to guess and the one entered by the players with a threshold. When the similarity is above the threshold then display a message saying that it is close from the actual response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant