Live data from Hacker News

Show HN: Tiny logic and number games I built for my kids

quizmathgenius.com

21–30 of 37 posts

Re: Show HN: Tiny logic and number games I built for my kids

#21
post #19

the 2nd game, click the prime numbers, my second board had only a 1 as a potential candidate, and 1 is not considered prime. the other numbers were all composites and I was awarded a big fat zero for knowing all this. (I went back in and the game does not allow clicking the 1, good; but the description "divisible only by 1 and themselves" doesn't really rule it out. maybe don't give 1's or explain this) clicking the…

Likewise on the prime number game, I had a board with all even numbers >2.

Re: Show HN: Tiny logic and number games I built for my kids

#22

Nice work. I like the simple, unobtrusive and ad-free interface. I have kids who could use this although you face lots of competition for their very limited allotted active screen time [1]. The 6 yo gets 45 mins a week on the computer, usually opting for PBSkids, Kodable or Scratch. The 3 yo gets 15 mins usually opting for guided digital canvas painting as she learns to use a mouse. There are a few good no-screen puz…

Holiday gifts will be ordered for fam, friends, and donations. Thx for the recs.

Re: Show HN: Tiny logic and number games I built for my kids

#26

Prime Hunter sometimes generates sets with no prime numbers.

I can confirm this bug - your random number generation algorithm should ensure at least one prime appears in each set, perhaps by maintaining a pre-computed list of primes within your range and guaranteeing inclusion of at least one.

Re: Show HN: Tiny logic and number games I built for my kids

#27
I have a new suggestion. A guess the number game 1-100 in 7 tries or less. It doesn’t sound smart at first because its just guessing. However, if you always guess in the middle of the upper and lower bound, then you eliminate 50% of the possibilities. It's a pretty neat trick to get kids to think about how to approach a problem that seems random in a structured way.

Re: Show HN: Tiny logic and number games I built for my kids

#29
post #27

I have a new suggestion. A guess the number game 1-100 in 7 tries or less. It doesn’t sound smart at first because its just guessing. However, if you always guess in the middle of the upper and lower bound, then you eliminate 50% of the possibilities. It's a pretty neat trick to get kids to think about how to approach a problem that seems random in a structured way.

Agreed! As an 8th grader I felt very smart finding the minimum number of steps required to solve this binary search using logarithms. It is also a great intro to algorithmic complexity.

Path finding in a 16x16 grid is also another great demonstration of BFS and DFS.

Using derivatives to make a targeting system and animating the result is another cool mathematical experiment.

Post reply on HN