Several months ago, I had a few hours with just Baby1 at a Subway restaurant while waiting for Dear2 and Baby2 (they were at a gathering with Dear2’s friends). So, Baby1 and I sat down and began our first programming session.
I had always viewed programming languages, math and music as another form of communication, just like English, Chinese, Japanese, Korean, etc. Therefore, I want Baby1 and Baby2 to have an appreciation of programming languages.
Programming is something I do on a daily basis, so there’s no need to send the children to programming classes. I will teach them myself. :D
Rather than using popular child friendly starter languages such as Scratch, I thought I would jump right in with an easy to understand language. And we would build a simple game of math so that it would help Baby1 in her Primary 1 & 2 as well. To this end, I chose the LÖVE framework which is based on Lua.
I started by teaching Baby1 basic concepts of strings, numbers and variables, and simple if-then-else control flows. Then, we got down to designing the look and feel of the game. While doing that, I taught her general concepts as such the coordinate systems, what are pixels, RGB values, how a circle is defined by its radius, etc.
Meanwhile, Baby1 had to type quite a bit on the keyboard, so she is picking up keyboard skills and spelling and reading skills as the same time.
We’ve had 3 sessions so far, here are the results at the end of each session.
Looking forward to continuing building this game with Baby1. Jiayou!