octokatherine / word-master

A Mastermind-like word guessing game
MIT License
382 stars 237 forks source link

Hint or give up #124

Open Puddinintain opened 2 years ago

Puddinintain commented 2 years ago

A hint or give up would be a great addition. I'm stuck on one now with no way to clear (except maybe clear cache.. Which I don't want to do)

ssaurab commented 2 years ago

@octokatherine, I experience the same problem of getting stuck in the middle of a puzzle and I believe its a problem to solve.

So, I tried solving it in the PR #125. I implemented the Give Up button and its functionality.

Also, I set the timeout to show the Give Up button to 40s after each puzzle starts. Do you think that is alright?

Puddinintain commented 2 years ago

Works for me. I don't give up often but yeah that's cool... Thanks

octokatherine commented 2 years ago

I'll take a look at the PR soon, in the meantime if you do want to give up you can just repeatedly guess any word

buttarb commented 2 years ago

If you get stuck, try this. https://word.tips/wordle/