Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Made this with my daughter to help kids ages 2 to 4 learn logic (countable.github.io)
367 points by ech085 on Dec 26, 2019 | hide | past | favorite | 133 comments



I think the digits should be arranged 0 to 9, not 1 to 9 followed by 0. Because 0 is less than 1.

Also, when the correct answer is revealed, it would be great to somehow highlight the cats that are actually described by the formula. Yes, this is hard for 0.

Also, the animations feel too fast to me. I find they make the whole thing stressful, somehow.

ALSO, when a wrong answer is given, the question disappears! That's terrible UX.

EDIT: I should add that I think the idea is great! But some details of the implementation could be improved.


Thinking about this some more, I think the UI should really be more about marking the selected cats than counting them. Then there could be nice diagnostics saying "you missed these ones", or "you marked this one which is X but not Y".


I think that would be a different game (or puzzle, or whatever you call this), and a dumbed down one. Maybe better referred to as "one that is aimed at younger kids."

Taking away the counting is reducing the thinking they have to do. If that's your goal, ok, but I personally think the counting, while mixed in with the "set logic" part, is an important component.

I could agree that you could have two modes, where that is one of them.


I don't have kids myself, but based on the 2-4 year olds in my family I would say that the logical reasoning part would be the challenging bit, not the counting of the solutions. I agree of course that marking and counting is strictly more work than marking only, but I disagree that the counting bit is somehow essential to this game.


You could also do both: circle the cats to indicate that they meet the condition but then you have to count your circles and press the corresponding number button so you still have to do the counting (but not the memorising). This means you're less likely to make a mistake due to forgetting to count a correctly identified cat.


Aimed at younger than 2-4?


Do you think that the age range of 2-4 implies that it becomes appropriate exactly on their second birthday, and becomes no longer appropriate right on their fifth?

I would assume that the range has blurry boundaries. And yes, I think it would shift it lower if you remove the counting element. I have no doubt that my own daughter, when aged 2.5 years old, would have struggled with it a lot more with the counting, than without. When she was 4.5 years old, she would have been a lot more bored with it if it didn't have the counting.

I suppose there are other ways of putting it as well. I used "dumbed down" first, but that could be interpreted badly, like "appropriate for dumber kids", when I really mean "younger".

But the point remains, you make it less challenging, make it take less cognitive effort, decrease its learning benefit, etc if you simplify it by removing the need to count and make it so the child only has to touch objects.


I disagree with the number arrangement bit. I'd imagine kids are learning to use the keyboard whilst using a computer's browse. 0 placement is on point with what's in front of them.


That’s assuming they use a computing device with a hardware keyboard. Since the game is pretty hard as it is, and not really about teaching to use keyboards, I would hunch >90% of 2-4 year olds playing this would use a touchscreen.


That's an interesting point. I still prefer zero on the right (and remember, they'll see them laid out that way in lots of other contexts, such as preschool worksheets).

I was going to suggest they add a feature to make it accept numbers entered via the the keyboard, but I figured I should check first if they've already done so. They did. :)


Sure, but you wouldn't teach them the alphabet starting with 'q'.

The list on the index page starts with 0, if nothing else it would be more consistent to start the counting section with 0 as well (FWIW I agree with the OP, I'm teaching my toddler to count starting with 0).


I'm the OP, and if by counting from 0 you mean "how many apples are there? Let's count 0, 1, 2, 3", then that's not what I meant and not an educational approach I necessarily agree with.

All I meant was what I said: If you're presenting numbers according to "numeric order, but with a weird exception due to the history of typewriters, which BTW your children have never heard of", then it would be simpler to remove that one weird exception. Or, to put it simpler: 0 is less than 1.


Wait I'm confused. You are teaching them to count the first item as "zero"? So if there are 3 apples, you have them say "zero, one, two"?

(FYI, I wasn't defending the zero on the right decision, I would prefer zero on the left)


> So if there are 3 apples, you have them say "zero, one, two"?

Well yes, except they'd count to three still because they're starting on 0 and increase that with each apple.


Preschool worksheets have pictures of computer keyboards on them? Why would they list the numbers from 0 to 9 with 0 on the right? Do you have an example of what you mean?


Completely agree. My 4 year old had zero (pun intended) issue playing this up to level 5 just now (using keyboard and mouse on my PC) and absolutely loved the entire thing.


The first 2 items are fixed, thanks for the feedback!


So many responses from people who are not target audience. Here is one from me so you can compare.

I just played this with my daughter who is 4 year old. She have found the first 4 levels easy. She was having a little bit trouble with level 5 negation and conjunction but we had to take a break since we were running for a date.

She didn't have any problem with zero being on the right.

She didn't have any problem with linguistics compherension so far.

She was able to differentiate colors and animating cats from the rest and it was perfect.

She is familiar with digital buttons so she was able to press them but even with her tiny fingers sometimes pressing 4 instead of 5 etc. (We played on mobile)

I direct the game for her. (Start, go up levels when she was bored)

Overall thank you for this because she is going to have a gifted and talented "test" next week and this looked very similar to that and she was active and entertained choosing the answers so I can see this could be a good segway I to it.


Seconding this. My daughter spent half hour playing this and absolutely loved it. Got up to level 5 and was doing OK but that's where she started to make a few mistakes. I agree with all your points.


I'm not the target audience, but when doing the counting one I kept getting asked the same amount a few times in a row.

Did this happen with your children? Did they have an issue with that?

Personally I think that the same question shouldn't be asked multiple times consecutively. The most I had it happen was 4 times in a row but every other time except for twice times I had 2 in a row.


Nope, can't say I noticed that. We maybe had once or twice where the answer was the same as the last question, but in those cases the question was different.

The only weighting issue I really noticed was that once you got to level 5 and higher, the number of questions who had zero as an answer started to get disproportionately high. Not constant zeroes, but noticeably more than any other answers.


Nice. The source is also very readable so I imagine it would also be useful to teach an older child about programming.

I hit a bug though - level 7 generated a "how many cats are spinning" question whose answer is 10, but there's no "10" button and trying to type "1" "0" fails at the first "1". But I see `cats_for_level` allows there to be `level + 5` cats, so is there some way to input an answer greater than 9?

Also, is it not confusing to have cats that are "also" ducks, rather than have a different kind of cat? Like cats with different-colored noses or have their mouth open. (In that puzzle 5 of the spinning cats are cats and the other 5 are ducks. But the dev console log does say it wants 10, not 5.)


The ducks-as-cats part threw me too. Either they are ducks or they are cats dressed as ducks. "How many ducks are cats" doesn't make sense.


I got 12 cats and I tried all the buttons. Of course none worked. Checking the source I see the fault in line 296:

    max_cats = level + 5;
At level 7 that's a possible maximum of 12.

Edit: you've pointed this out in your comment and I somehow missed it.


I also hit a question on the highest level where I think the answer was 11, but there was no way to input a 2 digit number.


The bug is fixed, thanks for pointing this out!


So, I am older than 4 and have a PhD in a logic-related field. BUT. I have to admit that I had trouble answering some of those questions. For example: "How many blue cats are not bouncing" when there are no blue cats on the screen. The game seems to assume that the right answer is zero, but I'm not sure I concur. There is a presupposition there about blue cats being in existence and if there are none on screen, the result is that, regarding blue cats, we don't have the required information to answer it. Better phrase it "How many cats are there on screen that are blue and bouncing?".


While I understand your argument, I think there's value in the ambiguity.

1. Clarifying ambiguity and extrapolating are important logic skills.

2. "How many blue cats are not bouncing" is how people actually talk.


I concur.


It's not ambiguous at all. The statement is perfectly clear. The statement is a contingency, i.e. a statement that is neither valid nor unsatisfiable. (Proof-theoretically: neither p nor not-p is provable. Model-theoretically: some assignment of truth values to p will make it true but not all of them).

It would be a far more valuable lesson to teach children that talking about something doesn't will it into existence so that you can start making meaningful statements about it, like how many of them there were.

It's like tampering with witness testimony: "Witness: Somebody stole my handbag. Police: Do you remember anything about him? Can you describe him?" All of a sudden the witness remembers that the suspect was male, not female, when the witness may not have seen such a thing at all.

...or like a show I recently saw on History Channel about the zombie apocalypse. Harvard Professor on TV: "Well, scientifically speaking, there is nothing to suggest that a zombie apocalypse would be a scenario we will likely ever be facing. But if there were such a thing as a zombie apocalypse then one of the most important things would be hygiene, so as to minimize the risk of infection, which is a fascinating topic that I have published about quite extensively." Reporter: "Oh, really? Tell me more about the hygiene precautions that we need to use in the event of a zombie apocalypse." Harvard professor: Spends the next 10 minutes of screentime talking about zombie hygiene. Dumb idiot in front of TV: "Honey! Come down here! They're talking about the zombie apocalypse on TV! They have a professor from Harvard and everything!" All of a sudden: The zombie apocalypse is a thing.

Conversely: The fact that you can't see something doesn't mean it doesn't exist... (like atoms)! "How many blue cats are there? -> zero." Might sound okay, but "How many atoms are there? -> zero" is quite wrong, since the cats are presumably composed of more than zero atoms but we can't really count them etc etc

So when these kinds of presupposition violations come up, then you should teach your little daughter to go "Huh? What the? I can't answer that!" Because "Huh? What the? I can't answer that!" is actually the right answer!


What about "none" instead of zero?


...doesn't help either.

The problem is that when you ask "How many blue cats are bouncing?" you are stating that blue cats are in existence. So there'd have to be some, not none. There'd have to be a number strictly greater than zero. So zero/none can't be the answer, or you're somehow breaking the rules of the game of logic, or how the computer game is set up.

If, however, you say "How many cats are blue and bouncing?" then the presupposition would only extend so far as to state that cats are in existence, which is reflected on-screen. In that case, it may well be the case that there are zero/no cats that are blue and bouncing.

Let me crossindex something I linked in the other thread:

https://en.wikipedia.org/wiki/Syllogism#Existential_import

When Aristotle describes his logic (All men are mortal...) he never fathoms the possibility that one of these sets that he talks about could be empty. (Empty sets, in that sense, don't belong in the realm of science, as far as he is concerned, but in the realm of fiction and so forth).

So, to get back to the original post: If I were doing this for a 2-4 year old, then zero is a can of worms I would try to avoid opening altogether. Or I would make sure that the presupposition-part of any question that is asked is in line with the evidence on screen.

If, instead of following Aristotle, you follow the embedding of the syllogism into modern predicate calculus and modern predicate calculus into propositional logic, then you end up with outcomes that will be mindbogglingly counter-intuitive to a 4 year old (but to any person, really).

Example: "All flying horses are three-legged." would become a true statement.

Since there are no flying horses, this is always an empty set. Ex falso quodlibet. Therefore always true. A valid statement.


I'd think that exercises for small children are based on more mainstream (nowadays) classical logic and ZFC (and likely with finite sets), and certainly are informal. If so, the reasoning can go as "here's a set of cats, take blue ones out of it, then take bouncing ones out of those; how many is there?".

I wondered whether what's shown on the screen is also supposed to be a complete representation of the set in question, but apparently the correct answer to every question is 0 and I don't see any cats (maybe it just doesn't work correctly here).


I might be corrupted by programming because it doesn't bother me when I hear a vacuously true claim like "All flying horses are three-legged". My mental model corresponds to Python's definition of "all":

    def all(xs, predicate):
        for x in xs:
            if not predicate(x):
                return False
        return True
Similarly,

    def any(xs, predicate):
        for x in xs:
            if predicate(x):
                return True
        return False
You say "Ex falso quodlibet" which makes it sound like you believe such a system leads to contradictions, but this would come down to the choice of rewrite rules.

Example: a rewrite rule from "NOT all(xs, predicate)" to "any(xs, NOT predicate)" would lead to contradictions. Reasoning:

    A. all({}, predicate) is true by def of all
    B. any({}, NOT predicate) is false by def of any
    C. NOT all({}, predicate} is false follows from A
    D. applying the rewrite rule to C, any({}, NOT predicate) is true, which contradicts B.
However, in first-order-logic, that same rewrite rule is fine since sets always contain elements. It doesn't seem like to much work to go from Python-esque any and all to ∀ and ∃. For example "all(xs, predicate)" could be rewritten to: "¬P ∨ (∀ xs. predicate)" where P is a new proposition variable for whether xs contains elements. This relies on the semantics including short-circuiting evaluation (which may be cheating, I don't know).

Or maybe the above is what you already meant when you said "following the embeding..."?


...that's what I mean when I say that computer scientists have been trained to think about certain aspects of logic in a way that doesn't come natural to people and leads to conclusions that almost anybody finds counterintuitive who isn't a computer scientist (like "All flying horses are three-legged").

...it comes down to how you represent natural language quantifiers in logic.

The semantics of "All men are mortal." is that "all" is the quantifier, which takes two higher-order arguments. Using x as the variable that is quantified over, the first argument would have to be a predicate of x and is called the restrictor. The second argument also has to be a predicate of x and is called the body. So "all" is the quantifier. "man" is the restrictor. "mortal" is the body.

Following that notation we would write "All men are mortal" as

    all_x { man(x) } { mortal(x) }
Now the question is how to represent this natural language quantifier in first-order logic. Most computer scientists would think

    ∀x { man(x) -> mortal(x) }
But this is NOT the way Aristotle thought about it, and not the way most human beings naturally think about it. The natural way to think about it is

    ∃x { man(x) } ∧ ∀x { man(x) -> mortal(x) }
The first part of the statement is what's called "existential import". (cf https://en.wikipedia.org/wiki/Syllogism#Existential_import)

When I say "ex falso quodlibet" I mean this: https://en.wikipedia.org/wiki/Principle_of_explosion

Moving over to the example about flying horses:

    all_x { fly(x) ∧ horse(x) } { three-legged(x) }
Without existential import the statement would mean.

    ∀x { ( fly(x) ∧ horse(x) ) -> three-legged(x) }
Now let's evaluate that within a logical theory that contains some common sense:

    ∀x horse(x) -> ¬fly(x)
The statement would then become provable. That's unnatural. No "normal" person who hasn't been taught through formal education to think in a particular way about implication would say "Oh yes, all flying horses are three-legged, that sounds perfectly reasonable."

Now WITH existential import, the statement would have to mean

    ∃x { fly(x) ∧ horse(x) } ∧ ∀x { ( fly(x) ∧ horse(x) ) -> three-legged(x) }
So now, using the same piece of common sense, the statement is no longer provable, but it's negation is (the statement is unsatisfiable). That's how a "normal" person thinks. A normal person would respond by saying "Hang on! There is no such thing as a flying horse! Therefore you are talking utter nonsense."

Going back to the original post: "How many blue cats are bouncing?" means

    howmany_x { blue(x) ∧ cat(x) } { bouncing(x) }
Which statement contradicts a state of the universe / game-screen, wherein there are no blue cats, if you interpret the statement by using existential import.

My suggestion was to rephrase as "How many cats are blue and bouncing?" which means

    howmany_x { cat(x) } { blue(x) ∧ bouncing(x) }
So now instead of "blue cat" being the restrictor and "bouncing" being the body, you would have "cat" as the restrictor and "blue and bouncing" as the body.

This would be better, because now you can use existential import the way "normal people" do, and still get to the desired result "zero" instead of the result "I can't answer that question". You avoid making a presupposition that contradicts the known state of the universe.


OP here, thanks for the thoughtful discussion :)

I'll think about this some more and see if some design decisions can improve the game with regards to "existential import". Thanks for introducing that concept by the way.

My feeling about this when developing the game with my daughter was that when playing a game, you are taking part in a game universe. If there were a reference to flying horses, the inference would instead be "there must be flying horses in this game". The generative gameplay which is creating cats with random attributes also suggests that blue, bouncing cats are likely to exist but just aren't pictured on the screen presently.

In early education (even undergraduate education) it's common to present a simplified model that in some cases contradicts other models, and developing the cognitive machinery to explore and understand the model one working within, its limits, and how it relates to other models may be more valuable than comparing which models better align with objective (or, academic) truth.

At least, this is the thought process I went through with some of the trade-offs about deciding what answer was most correct from the lens of various formalisms (in my limited exposure to those) versus what answer leads to the richest learning in the age-group.


Doesn't this apply to all of the questions? After all, there could be more cats than are displayed.


When you treat the screen as just a sample of all the cats, and you assume that every question is really asking "out of the ones that are on the screen" then 0 makes more sense. The language used by the quiz treats the cats as real, so it's like you're sampling and then evaluating the sample.

If I apply your logic to that, then we never know any quantity of any type of cat in any question, because there are more off-screen.


It's different because when you are asked a question about "the cats" and you can see the cats in question, you presume that you are only being asked about that which is displayed in front of you.

But when you are asked a question about something that is not displayed in front of you, then you do not presume that what you see is the entirety of evidence, because you are being asked about something for which what you are looking at provides no evidence. Therefore, "all cats," rather than "these cats."

"I don't see any of the blue cats, so I don't know how many of the blue cats are bouncing"


If the question comes out of nowhere, like some guy runs up and asks you while you're walking down the street, I agree.

This question however comes within the context that they're looking at cats on the screen. Unless they get zero cats as their answer for the very first question they play, then the context tells them "cats shown here".


It's a necessarily pedantic argument because of how the question is phrased. There was a suggestion as to how the phrasing could be improved to make it clearer.

None of the blue cats are shown here, so we don't have any information to answer a question about them.

If we were previously shown 5 blue cats and none were bouncing, then "5" could seem like the valid answer. If you assume that there is no memory element to the game (which is a weird assumption when teaching), then it's only because there is no option to select "there's not enough info" that "zero" can contextually become the right answer.

I guess I'm still a little bit salty about being asked these kinds of imprecise questions on high-stakes standardized tests that are supposedly testing you on your own precision and accuracy. I remember running into questions that had more than one valid answer because of imprecise wording, at which point the test becomes "what did the test writer intend" instead of "what did the test writer ask."


As a PhD in Math, my opinion is that 0 is a number. Most language have special words to use when the amount is 0. For example, instead of "Five persons want to eat cake." you usually say "*No one wants no eat cake".


I have done my PhD in computational linguistics, specializing in semantics, with my thesis containing a fair chunk of work on mathematical logic, and I can assure you that presupposition is a thing!

https://en.wikipedia.org/wiki/Presupposition

It's also a thing in mathematics.

https://en.wikipedia.org/wiki/Syllogism#Existential_import

The statement "How many blue cats are bouncing" makes the presupposition that blue cats exist. That's just how language works.

It's one of those things where a formal education in mathematics will teach you to think about a thing in a way that is actually unnatural to most human beings.

The standard example that linguists use is "Do you still beat your wife?" to which you can answer neither "Yes" nor "No". Answering "Yes" means you admit that you used to beat your wife and that you are still doing it. Answering "No" means you admit that you used to beat your wife but claim that you are no longer doing it. You can only answer by escaping to the meta-level and attacking the presupposition as in "I am not currently beating my wife, nor have I ever beaten my wife". If you're a politician, then even that will get you in trouble. (Not thinking of a pink elephant, and all that, ...)


I think it's perfectly fine to ask "How many bottles of milk are in the fridge?" even if there is no milk. I admit that most sane people will not answer "Zero".

If someone ask "How many elephants are in the fridge?" it would be weird.

I don't think that it is unnatural to answer "zero" in the first question, it is probably a social convention. For the second question I agree that is unnatural.


You reflected the example wrong though. Asking "How many blue cats are bouncing?" makes the presupposition that blue cats exist. "How many bottles of milk are in the fridge?" makes no presupposition of any kind. To demonstrate my point using your example: You ask: "How many of the milk bottles in the fridge are rancid?" I go to the fridge and see that there is no milk in the fridge. I now can't answer with any number at all, not even zero. Because if I say "None!" or "Zero!" then I will just have said: "I confirm that there is milk in the fridge, and state that none of it is rancid." which contradicts what I have just learned to be the truth.

This is not po-tay-to po-tah-to, people. It's a real thing.


> It's a real thing.

Most people aren't arguing this. Most people are discussing colloquial understanding of language and discussion. The differences you are arguing are important in a highly specialized area of math and science.

It feels like you're arguing whether an object is a Boeing 737 or an Airbus A320 when the important point is an airplane is not a car.


> The differences you are arguing are important in a highly specialized area of math and science.

Actually, I think they're arguing that it would be useful if more people understood this. In addition, the point of the game was to teach logic, not a colloquial understanding of language, which every child gets growing up anyway.


This reminds me of vacuous truth (https://en.wikipedia.org/wiki/Vacuous_truth).

I was recently writing a function that returns early if all items in a list meet a certain condition. It was interesting to think about what should happen if that list is empty.


Nice website. I like it. Please don't use it with your kids (of 2 to 4!!). There are more than enough actual objects scuttered in your house.


Actual objects don't teach this sort of thing. They may well teach other things.

I encourage you to parent your own children. HN users are typically adults and can make their own decisions on whether some screen time for their kids is ok, and what sort of screen time. Doing a logic puzzle is not, in my opinion, the same as going from video to video of squeaky voiced ladies with brightly colored nails opening toy eggs on YouTube.

Is it ok if my daughter videochats with relatives? Or is that screen time and therefore bad?

Is it ok is she draws with crayons? Crayons and paper may be "actual objects", but the images she creates are no more "actual" than the pixels on a screen.

The world is a lot more complex and subtle than just dividing things into "screen time" and "real world".


The world is complex. And that's why division between screen time and real world at this age makes sense. You let many more brain areas develop when you can touch stuff, move it around with many more degrees of freedom, you have way more complex visual stuff to analyse at different focal lengths and so on. It's quite well documented.

But of course, do parent your own children. You are the optimisation function. You may value abstract thinking higher than spatial imagination dexterity etc.


"You may value abstract thinking higher than spatial imagination dexterity etc."

I don't think they are mutually exclusive. I mean, here's typical examples of my kid taking in some screen time:

https://www.youtube.com/watch?v=Z492IPHZTUY

https://www.youtube.com/watch?v=khU5A6Y1dk4


Haha, fair enough.


Just finished watching a film about Magnus Carlsen and how early he started and one of my key takeaways was that getting extremely good in chess actually helped him do well in other aspects of life as well.

Then of course his family doesn't seem to be pushing him, rather than supporting him, and if they had been pushing him hard into this it could possibly had a totally different outcome.


Have you seen the documentary about all the other kids who've started chess very early?


No, is there one?


I'm not sure if the comment you responded to was a sarcastic joke or a reference to this documentary.

Chess Kids: https://www.youtube.com/watch?v=ZK0vtFkm7mE


> getting extremely good in her s gqme actually helped

huh?


My guess at a correction: 'good in her game'


Should of course be "good in his game".

I have rewritten it. I'll leave it to you to figure out my opinion of autocorrect ;-)


agreed.

this tool seems to optimize practicing logic more than enjoying logic.

i think kids will find greater success in life with logic if they're taught to enjoy it before they're taught to master it.

why do i think this?

my dad wrote a "computer game" in 4th Dimension in the late 80s that was just randomized arithmetic problems. i had to get a certain score before i could play outside etc. i got really good at answering his program's stupid questions. i also learned to resent him for it and have negative associations w arithmetic to this day.

i also quickly lost my "skills" and am bad at arithmetic now.

it was a nice idea but please don't repeat his mistake.


This might be true if the idea of this app was something you were supposed to put your kid in front of for a few hours a day.

To me it is just one thing, one of many, many things a kid will encounter, that help them understand concepts. It's not that different from the typical ad hoc "games" I play with my daughter, often while in the car. From "I spy with my little eye" to "what's the opposite of X" to "I'm thinking of a movie where there is a...." to "how many points on a star? how many wheels on a bicycle?" and so on.

I'm not sure what sort of "enjoying logic" you are expecting from a 2-4 year old. Solving little puzzles actually seems pretty enjoyable to them, from my experience. This is not to suggest that it should come at the expense of more "natural" ways of learning logical concepts.


> if they're taught to enjoy it

Left to enjoy, eh?

> I had to get a certain score before i could play outside

Your intrinsic motivation was killed with extrinsic motivation. That's the lesson here. Exercises are okay. Children kinda like exercises - even stupid or pointless ones.


On the other hand, my parents found a computer game where arithmetic problems fell from the top of the screen and you got points for solving them quickly. My siblings and I loved it and played it whenever we were allowed - it wasn't a requirement for us to play it but a treat.


I agree that concrete objects are easier to teach concepts with. I taught two elementary classes the basics of Scratch programming several weeks back. I made a whole bunch of props to start with before I even turned on the computer. That was what really made the difference. It was something they could connect with.


Cool.

Back in the ‘80’s there was a game called “Rocky’s Boots” that taught logic to kids.

https://www.myabandonware.com/game/rockys-boots-cp


Nice! Logic gates no less. We will have to spin up dosbox and try it out if possible.



I was not prepared for the text-to-speech blaring out at maximum volume without warning. I was further not prepared for "mute site" in chrome having no effect. Does anyone have any advice for blocking this behaviour on a global level?

Just a warning for future explorers


Thanks for the heads up, added this warning to the home screen.

"Warning: the game will speak out loud (since young kids cannot read the questions), so check your volume."


heh :) only read this after trying while my notebook was muted. Quickly closed the tab before I accidentally unmute and wake the lil one

Will be trying the counting part with kid next morning.

I assume its random() based, did get a lot of 3 cats, specially in a row. Never 0 cats or more than 5. I would remove the answer buttons for 6 to 0, or a button to hide those maybe?


Higher levels have more cats, try the arrow at the top right of the page to go up a level.


I had the volume at 1% and I think it woke up half the house. Maybe a chromium bug?


I noticed you don't have an eleven button: https://imgur.com/a/TK7Td2J

To be clear: I tried each number 0 - 9 to make sure none are correct. This question cannot be answered and blocks further progress.


You want them to turn it up to eleven?


fixed


I've found with two of my kids that they were really into paper-based logic puzzles using logic gates.

I draw up a heap of multi-input AND and OR gates, and some inverters, then wire them together in more or less random ways. Then put 0 or 1 on all of the inputs, and get the kids to work out what some given output will be.

The good things I've found are:

- This seems easily within reach of my kids from age 5 or so, probably many could start even younger

- all they need to get going is the concept of AND, OR and NOT, easily graspable

- It's quite positive for their self-esteem, since what they're doing looks (especially to their seniors) insanely complex, but logic is really not that hard

- It's paper-based, no screentime, pin them up on their wall when they're done

- It's super quick to set up each "puzzle", and you don't even need to spend any time setting up some complicated trick answer, or even really testing your puzzle. Any old random logic circuits are great fun for them to step through and come up with the outputs.

- you can step it up to more complex things - e.g. change up some of the inputs once they've got their first outputs, chuck in some flipflops etc.


You might be interested in http://nandgame.com/ . It's sort of like the game they are already playing, and teaches them about CPU architecture.


That looks very interesting. Thanks!


First of all, awesome amd thank you. Now one comment. Is it possible to (only after selecting the correct answer) to highlight the cats that are in the correct condition? This might help with visual reassurance of the correct answer. Cheers


Nice project. Some ideas:

When you click a number or press a key, the number should be highlighted for a short time.

In some other games, after a wrong try the number disappear and in other games the number gets semitransparent and disabled. It makes the later tries easier, but my small daughter learned to bruteforce the tests :) .

Sad cats when you get a wrong answer? Perhaps it's a bad idea.

Super happy cats when you get the right answer?

What about a mixed level, where you get some samples of the last two levels? (The last levels are not so easy.)

What about dogs? I like dogs. :)


Great job, played all levels with my 4 year old and enjoyed. This can easily be an ipad app. Also my browser is lacking a tip button as this would have been a $5 tip easily.


Couldn't agree more. I'd tip for this or buy it. My girl just spent a solid half hour playing it and got really into it.


This is great. I love the concept. There is just enough UI to play. The 'cat-ducks' makes it fun.

If I could add something, I would make getting an answer right a little more rewarding. A correct answer graphic, or a correct answer counter.

I realize this is probably a proof of concept for a minimum viable game and standard game mechanics did not make the cut.

I will test it out on my 3 year old tomorrow.


This looks great. Will definitely try it with my son.

The first part is about 'counting', or maybe recognising a count without counting (I didn't count the cats 1-2-3, because I can instantly recognise 3 of something).

If you're interested in exploring this further, the book How to Teach your Baby Math, by Glenn Doman, recommends teaching babies/toddlers numbers by showing them cards with dots on them, one at a time, whilst saying aloud the number of dots.

Instead of making your own cards and using your own voice, you can run this web app and use your smartphone and thumb.

https://dots.twilam.com/

The initial screen is blank. Tap anywhere on the screen to show some dots and hear the number. After about a second, the screen will again be blank, ready for you to tap again.


I never get more than five cats. Also it is Unclear how a kid wild get to the end of answering the same question set. Also, I kept getting the same number of cats in a row. It feels like something is wrong to get the exact same question.


Try the higher levels


I made a [fork](https://github.com/ahalma/cats-of-jasnah) that allows for some internationalization. Now you can play the game in Dutch or Spanish as well (or extend it for your own mother tongue).

You can set the language via an URL parameter:

https://ahalma.github.io/cats-of-jasnah/index.html?lang=es


That's very cool! I like that the whole project is packed into one html file and that you made it together with your daughter. I'm also working on an open source logic/math game for ~8+(depending on the mini game). If parents on HN are interested in trying it out with their children, please do it and give me feedback https://braincup.app/


Controversial opinion, but I don't think kids ages 2 to 4 should be having screen time, let alone an activity that is better presented with real objects.


Why?

Many people have these "screen time" opinions. I'm not saying I disagree, but why do you think zero screen time is the correct amount?


There have been published research in widely peer reviewed medical journals, for example: https://jamanetwork.com/journals/jamapediatrics/fullarticle/...

Main points being that brain activity and cognitive tests have shown that kids with excessive screen time use exhibited negative results. Granted these tests likely refer to unattended, non-interactive screen time which is slightly different than this particular app's situation. But the general idea and question of screen time is relevant.

Also anecdotally, I have a young nephew and niece who's parents recently instituted a screen time purge for weeks at a time -- ( parent is an MD and recently attended a conference where research showed similar negative impacts in children's brain development after screen time use ). They've seen less hyperactivity, less meltdowns and improved listening and behavior. Again, one example, so take it for what it's worth.

Raising kids is a time consuming, challenging endeavor for most people, and everyone's experience is going to be unique. So, to each their own. And I'm someone who grew up with NES and after school cartoons. But even given that, I intend on leaning towards caution in this respect and limit screen time as much as possible certainly towards the younger age spectrum.


You didn't answer the question "Why do you think ZERO screen time is the correct amount?"

The article you linked only tests for "excessive" screen time - as do all the other studies I've seen.

Seems like you're just advocating the opposite extreme.


2 to 4 is still early in the development of physical attributes, focus, hand eye coordination, balance and what have you. Zero intentional and structured screen time seems entirely appropriate. Let them develop a physical world and interact with it before encouraging screen addicted couch potato. That will come despite best efforts later...


But why do you believe this? Encouraging physical world interaction before screen interaction (I'm taking away the value judgements) – what makes you think that this is beneficial? What are the benefits? How would changing this change the outcome of the child's life?

One theory I have found pieces of and put together is that a primary pillar of mental health is how your life experience as an adult matches your life experience as a child. If most of us are going to spend a significant amount of our lives glued to screens in order to be productive members of society, at least introducing that early might make the matching experience more tolerable.


Simple. The schools when our kids were young encouraged plenty of screen time, from age 5 on -- we both wanted a more balanced mix. Plenty of time for life as viewer and visual consumer later. Playing out, football, swimming and forests as well as viewer to be data mined to death. We both chose to put the screens aside when the kids were toddlers. T'was pre smartphone and tablet anyway.

It's not like they had any chance of lacking screen time through their childhood with schools as they are. Nor were they deprived access, or lacked natural ability come 5 and 6 on... Or lacked inclination to become addicted to WoW come 13 or 14.

I'm not sure what you mean with your point about "life experience as an adult matches your life experience as a child". Maybe I'm completely missing it. For any of us born before the home computer revolution of the 1980s, childhood and work are likely dramatically different things. I'd rather the kids get a chance to be children than start preparing them for a life of work at age 2 or 4...


Expanding on this to postulate: This is why old fairy-tales were so dark and frightening. Scary stories prepare you for a scary world, which it definitely was not so long ago. Many of the feedback systems in your brain are trained in childhood and become much more fixed as an adult. Homeostasis trained on the "child" dataset goes all out of order on the "adult" dataset when the two are too different.

Lavish your child with praise and attention, everything they could want and making sure everyone is successful at everything and never "fails" ... come to the real world as an adult and reality isn't as nice, the world isn't actually like what you grew up in and your feedback systems simply aren't equipped or designed to handle the situation life puts you in.


Do you have studies to prove that zero screen time is beneficial? I have a two year old who has learnt plenty from his screen time - between 15m to 30m per day.


Anecdata - my kid is the same. She’s 22 months and can sing all the usual songs and names her shapes and colors aloud with the videos. It’s impressive and she can count like crazy from all of it (and out of order so it’s not _just_ rote memorization in order).

We do push it at times when we are traveling or she’s sick where she will get 2-4 hours of iPad and videos along with her books. She will also pick a book over the iPad almost every time the choice is available so I am not worried (yet).


Most recommendations are to limit screen time to 1 hour per day.

https://journalistsresource.org/studies/society/public-healt...


Personally I think screen time is just another tool in the learning box, along with books, puzzles, toys, outside play, helping with chores etc etc. I don't really get the consternation over a child playing a counting game with an app over one with physical items (though play physical items is very necessary).

And apps take up no space while also easily being updated to be more challenging as the child's capabilities grow.


John Medina in Brain Rules for Baby[0] suggests I think, a practical framework for kids screen time that is informed by research. It boils down to minimize screen time where the screen is stepping in as the babysitter. Instead, try to make it co-viewing where you and your child watch together. Then you can reference it later or discuss any points they find confusing or scary. Avoid violent content, because the kids are sponge mirrors. They soak everything up and then act it out later. I've seen this play out with my kids, we watched avatar the last Airbender (the cartoon) and they were benders for weeks afterward. I also watched Elf recently and shortly after the scene where Buddy gets yelled at my toddler was repeating the same phrases at a younger sibling.

[0]http://www.brainrules.net/brain-rules-for-baby


I don't think that's controversial at all. I'm not aware of any kid of age < 6 who has "screen time".

It's usually the first/second issue discussed when sending kids to friends homes.


Average screen time for children 2-8 is >3hrs a day so your world is atypical. http://cdn.cnn.com/cnn/2017/images/11/07/csm_zerotoeight_ful... page21


> I'm not aware of any kid of age < 6 who has "screen time".

> It's usually the first/second issue discussed when sending kids to friends homes.

If it never happens, why would you discuss if it's going to happen?


I think this onEnd callback is what allows you to spam the button and nothing changes on screen https://github.com/countable/cats-of-jasnah/blob/master/inde...

This is cool though. I never thought to build something to help teach my son anything


1. This is awesome

2. How can i turn it into an app for ipad use


Open it in a web browser on an iPad? :)


Can ur kids read numbers?


My two year old can read numbers up to 10. It takes a little while to go from the symbol to the amount but generally speaking she can do it. It's typically around 2 where you can start to learn letters and numbers and basic counting.


My twin 4 year olds could play the game no problem, but they cannot read numbers well so they just counted from the left. Turns out they knew 1-3 already, picked up 0 fast as it was the odd one out. I have not pushed numbers very much, they know more of the alphabet. I am not sure whether I should teach them numbers, I kind of think letting school do that might be better, but your comment has made me think a bit more.


Reminds me Lewis Carrol's The Game of Logic: https://www.gutenberg.org/files/4763/4763-h/4763-h.htm


Just played it with my 3 year old, and he had a real hard time with the "how many cats are ducks" kind of question... Cats can't be ducks after all!

But he really enjoyed it otherwise, thank you for this, and thank you for making it open source!


My three year old says the cats are cutie pies. That’s very high praise...:)

Nice work!


Played the counting levels with my 22 month old who can count to 20. The only thing I would suggest from our experience is the cats “dressed up as ducks” was confusing for her.


This is a really good concept, definitely going to use it with the kiddo. On a laptop screen, the buttons could be bigger, hard to hit them with little fingers.


I have 3 questions.

How many of you have 2 year olds that can read?

For those that can read, was this thru your parental efforts, self taught, or daycare / 3rd party?

How many languages can your 2 yr old read?


You don't want kids of that age to learn logic. You want them to learn imagination.


My three year old tried it and is enjoying these, thank you OP!


How many cats are here?

God please its 10, where is my 10,10, 100000,.

no no1!!!!!!!!!!!!!!!!!!sw

its 10!!!

tajsfueygfwfpawhfahfghf


Thank you for this. My daughter really enjoyed it!


The robot voice is the deal breaker for me. That can't be good for a developing mind. Combine this with voice mimicking technology that was posted a few weeks ago.


how many cats are not red and are not ducks? Such kids, much wow!


Thank you!


This is amazing. Would love to see more simplified foundational education games such as this geared towards any audience and from all domains.


Keep getting asked to count 10 cats at levels 5 and up.


Kids of 2 to 4 shouldn’t be using screens.


My friend has worked in a number of different pre-school facilities throughout Boston and most of them had a carved out screen based activity (usually tablets) for at least part of the day. I'm sure the science is still out but in practice it seems ubiquitous.


That’s a perk for the teachers who can relax or get the next activity ready while the kids zone out, not done in the direct interests of the children.


Why is that? Is a coloring game on a tablet damaging? Is a coloring book not?


Personally I don't like anything with colors, since I see the world in black and white.

(I'm kidding of course, I agree with your point)


A coloring book teaches a billion times what a coloring app can teach. How materials feel, how to use haptic feedback to not break a crayon, how objects create sound as they touch, how different materials interact (eg pencil vs crayon), how friction changes based on force normal to the surface, how materials hardness affects abrasion and changes the shape of the crayon, how different items have different colors and how these can transfer between materials, etc...

Kids 2 to 4 should not be using screens. They have too much to learn.


The book and pages are tangible, foldable, the tablet is just a glass. With a book you think how ist could look, with a game you just can see it.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: