Hour 1 of teach a nearly 8 year old to program finished. We discovered the basics of HTML, described our game inside a <p> tag and watched Daddy create a JavaScript example of the random Football league games he wrote when he was 8. Coding style was to hard code the numbers, then learn about random functions, variables, if statements and basic maths. Then the fun part – finding many ways to cheat so that N’s favourite team (the Lions in this case) always won. Lastly we renamed ‘Goals’ to ‘Kills’ to fit with the original intent of Nathan’s game (“Total Battle!”).
