Live data from Hacker News

Show HN: My 70 year old grandma is learning to code and made a word game

grandmasword.com

101–110 of 160 posts

Re: Show HN: My 70 year old grandma is learning to code and made a word game

#101
post #90

Caution: Spoilers in this comment! Arriving a bit late to the party, but I couldn't resist crafting a quick binary search solution in Python. from urllib.request import urlopen, Request DICT_URL = "https://grandmasword.com/dictionary.js" response = urlopen(Request(DICT_URL, headers={"User-Agent": "Mozilla/5.0"})) words = [w.strip('"[];\n') for w in response.read().decode().split("[")[1].split(",")] lo, hi, answer = 0…

let l = 0; let h = dictionary.length - 1;

const textbox = document.querySelector("input");

while (l

  textbox.value = guess;
  guessWord();

  if (document.querySelector(".correct")) {
    console.log("Found the word:", guess);
    break;
  } else if (textbox.placeholder.includes("after")) {
    l = m + 1;
  } else {
    h = m - 1;
  }
}

Here's mine in JavaScript, you can paste it in the console.

Re: Show HN: My 70 year old grandma is learning to code and made a word game

#102
post #94

Earlier quoted context omitted.

This website was likely not made by a 70 year old grandma judging by how it was promoted on reddit. https://www.reddit.com/r/programming/comments/1enuhw5/my_70_... https://www.reddit.com/user/Ruth_Ellaer https://www.reddit.com/user/puzzledpenguins

If that's the case then what's the endgame of this promotion? Strange.

Testing the waters, I guess.

"it's my birthday today [AI generated image of Grandma with birthday cake]" is a viable business model on Facebook these days: https://www.404media.co/where-facebooks-ai-slop-comes-from/

If they get enough clicks they could put profitable ads on the page, or even sell it (like what happened with Wordle).

Re: Show HN: My 70 year old grandma is learning to code and made a word game

#104
post #19

There is some bug in the sorting, because it sorted “vol” after “volatile” for me. It seems to depend on some previous state, though, because I couldn’t reproduce it in a new window. Edit: See also https://news.ycombinator.com/item?id=41217457 .

I had a similar issue. Void sorted before Vogue. Breaks the game totally as far as I can tell.

Re: Show HN: My 70 year old grandma is learning to code and made a word game

#105
post #97

Very cool. My own 74 year old surviving parent would never be able to get them selves to even try, as they have spent most of their lives telling reiterating a mantra about how little they know about technology. It has been a guiding principle of mine to never do that with anything, after seeing the effect it has had on her.

It’s called learned helplessness and is a good indicator for pessimism. There is a book I enjoyed that discusses the issue in depth, called: Learned Optimism, by Martin Seligman. The second half of the book is about how to become less of a pessimist, by addressing learned helplessness.

[flagged]

Re: Show HN: My 70 year old grandma is learning to code and made a word game

#106

[flagged]

I don’t understand why any of that indicates that a 70 year old couldn’t have created this, unless you think 70 year old people aren’t capable of doing that.

The age isn't really the inconsistency, it's the "only just learning to code" aspect. My first ever webpage was certainly not hosted behind Cloudflare. (I'd also expect beginner resources to point to something like GitHub Pages instead)

Re: Show HN: My 70 year old grandma is learning to code and made a word game

#107
post #94

Very cool. My own 74 year old surviving parent would never be able to get them selves to even try, as they have spent most of their lives telling reiterating a mantra about how little they know about technology. It has been a guiding principle of mine to never do that with anything, after seeing the effect it has had on her.

This website was likely not made by a 70 year old grandma judging by how it was promoted on reddit. https://www.reddit.com/r/programming/comments/1enuhw5/my_70_... https://www.reddit.com/user/Ruth_Ellaer https://www.reddit.com/user/puzzledpenguins

The source fits the pattern of something generated by LLM and even includes comments that were probably part of the prompt.

Doesn't anyone else remember being a beginner? This isn't something I would have made. It has too many extra little nuances. The dictionary is a big clue.

Re: Show HN: My 70 year old grandma is learning to code and made a word game

#109
post #3

Great game! I would love a hint function though, as I honestly got stuck.

I got completely stuck, tries various word solvers, but they seemed to be for cross words or anagrams, but they were no help. But an actual dictionary / word list unlocked it. Not sure if using a dictionary goes against the spirit of the game or is expected. Without it it seems incredibly difficult.

Re: Show HN: My 70 year old grandma is learning to code and made a word game

#110
post #94

Earlier quoted context omitted.

This website was likely not made by a 70 year old grandma judging by how it was promoted on reddit. https://www.reddit.com/r/programming/comments/1enuhw5/my_70_... https://www.reddit.com/user/Ruth_Ellaer https://www.reddit.com/user/puzzledpenguins

If that's the case then what's the endgame of this promotion? Strange.

Go viral and show ads?

Get the chatter going, get "press", clicks, visitors and players, then potentially ads, or selling the site (for someone else to put even more ads on it), or using it as marketing reference (I made a game viral by lying about it).

Post reply on HN