octokatherine / word-master

A Mastermind-like word guessing game
MIT License
381 stars 240 forks source link

Allow user to reveal the answer #30

Closed defyentropy closed 2 years ago

defyentropy commented 2 years ago

I've been playing the game for a while now, and sometimes, at the end, I'm stuck with a few uncommon letters and only a few confirmed letters. There's no way to end the game except to find the correct word or to guess any word (which is actually quite difficult because the letters aren't very common). It would be great if there was a way to manually end the game and reveal the answer, so the player can learn from their mistakes. This would, obviously, end the player's streak.

For example, here's a recent game where it happened: image

As you can see, finding a word with QWYFJZXVOG isn't easy.

defyentropy commented 2 years ago

If you think this is a good idea, I would be happy to submit a PR.

octokatherine commented 2 years ago

to end the game you can just guess any word with any letters. like you could just type in "drums" again. does that help? @defyentropy

chynnakeys commented 2 years ago

I think it’s foggy :)

defyentropy commented 2 years ago

to end the game you can just guess any word with any letters. like you could just type in "drums" again. does that help? @defyentropy

OK yes, that makes sense. Thank you for clearing that up. I guess I was so preoccupied with trying to find the right answer that I forgot you could reuse grayed-out letters.