hryanjones / guess-my-word

A word guessing game, where you only know whether my word is before or after your guess. (An unofficial clone of the game previously available on simbase.org)
https://hryanjones.com/guess-my-word/
MIT License
64 stars 26 forks source link

People who get the right answer with their first guess not labelled as lucky #35

Closed leahrickard closed 3 years ago

leahrickard commented 4 years ago

Thank you for Guess My Word, I enjoy the daily challenge!

I've noticed that sometimes people aren't labelled as lucky when they got the word on their first guess. This seems like a bug to me.

image

hryanjones commented 4 years ago

People are only currently labelled as lucky when they haven't played enough to be on the long term board and their number of guesses is less than 5 (or 6, can't remember exact cutoff). There was someone who had a streak of playing going for a long time and didn't like that he had been lucky once and couldn't submit, which is why I started allowing submissions of 1 guess.

However, it looks like a fair number of people are abusing this, what about this logic: if someone gets it in 1, for them it'll show that they're on top of the board, but for everybody else it'll show that they're lucky?

On Mon, Jun 29, 2020, 01:49 leahrickard notifications@github.com wrote:

Thank you for Guess My Word, I enjoy the daily challenge!

I've noticed that sometimes people aren't labelled as lucky when they got the word on their first guess. This seems like a bug to me.

[image: image] https://user-images.githubusercontent.com/19320290/85992953-b7f6b880-ba49-11ea-8b8a-eef8ffba14ae.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hryanjones/guess-my-word/issues/35, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUUP5HOTVSCB4OJZ7PCFR3RZBIPXANCNFSM4OLBQZJA .

leahrickard commented 4 years ago

I was wondering what the criteria were, thanks for that!

Your solution sounds reasonable. I guess otherwise, whatever you had the cutoff as, someone could work it out and abuse it.

hryanjones commented 3 years ago

Okay, finally got the time to add in the new logic. This type of abuse should show up a lot less, but feel free to reopen if you started seeing it again.