Live data from Hacker News

Show HN: MidWord – A Word-Guessing Game

midword.com

21–30 of 38 posts

Re: Show HN: MidWord – A Word-Guessing Game

#21

Fun game! It stopped responding when I got close to guessing the secret word, though. Then I refreshed the page, and my progress was lost. With a little bit more polish, I think I can add this to my daily game rotation!

Aah - not sure why it stopped responding, sorry about that.

I'll try to add some local state management so a refresh for a game doesn't lose progress.

Re: Show HN: MidWord – A Word-Guessing Game

#22
post #7
post #6

Nicely implemented screen layout. Curious if you've thought of reporting metrics showing how many guesses it's taking people? (I got 'volatile' in 9)

I have a decade's worth of guess statistics per word. Unfortunately, I just converted it to a frontend-only app to eliminate hosting costs, so I have no good location to keep tracking these stats. Theoretically, "Oxford English Dictionary estimates that there are around 171,476 words currently in use in the English language", the log2() of which is around 17.38 - I have no historical data for 'volatile'

Hmmm, but the shortened dictionary being used is presumably less than that, so my best-so-far of 17 is probably below optimal...

Re: Show HN: MidWord – A Word-Guessing Game

#25
Very clever idea! It's difficult to come up with an original idea for a word game, but you seem to have done it. If there's one like this, I haven't seen it.

The only issue I noticed was there seems to be some lag on printing some of the results. Maybe memoizing some repetitive functions might help, if you're not already.

Nice work!

Re: Show HN: MidWord – A Word-Guessing Game

#26
post #8

Pretty cool! Obviously the best strategy is binary search, but it's pretty hard to figure out the best choice for that on the fly.

That's basically what I did. Drilled down in a binary-search fashion, guessing "captive" in 18 tries. (Doing it programmatically would have been even faster, of course, but then what is the fun of that? The manual approach yielded a fairly optimal performance anyway.)

Re: Show HN: MidWord – A Word-Guessing Game

#27
I got "forth" in five guesses, first game. Which makes me feel like I'm psychic! Which would be really cool, but is it just matching the first two letters of the word or something? I'm usually terrible at these until I understand how they work.

Re: Show HN: MidWord – A Word-Guessing Game

#29

I got "Negociate" after like 20 tries, the spelling of which I've never seen. I ended up using the hints to figure it out. When I clicked on the link of the word it took me to a "No results found for negociate!" page on Dictionary.com. Pretty frustrating, might want to double check your word list.

Thanks - cleaned up the list a bit with the help of AI

I suggest having two lists: a small handpicked list of 1500 possible goal words, and a copy of /usr/share/dict/words with common misspellings added as acceptable guesses

Re: Show HN: MidWord – A Word-Guessing Game

#30
post #28

It’s incredibly frustrating that only the first letter is highlighted. I was guessing tons of SU… and SV… words, but only the S had visual feedback. Bug?

It appears to highlight the letters that your guesses have narrowed it down to. For example if you had narrowed it down to after 'sudden' and before 'super', it would highlight 'su'.
Post reply on HN