The seven-year-old who negotiates the rules of a made-up game is developing logical reasoning and so…