I have tried to teach my 10yr old to learn programming for past few months with scratch and basic html stuff. He is not much interested in scratch and picked up html/css and showing interest to develop simple games with it.<p>Seeking ideas from fellow hners for below topics.<p>How to engage kids for constant interest in the programming? How did you get past of the stage of loosing interest now and then to kids?
What can I teach him for basic gaming tutorials with html/css?
One, here are two lists of online games to teach coding, first list is for CSS, other is for WebDev. Frankly, I've bookmarked them for myself, they look so cute.<p><a href="https://dev.to/paco_ita/train-your-css-skills-with-online-games-4ah3" rel="nofollow">https://dev.to/paco_ita/train-your-css-skills-with-online-ga...</a><p><a href="https://dev.to/paco_ita/train-your-javascript-skills-with-online-games-289m" rel="nofollow">https://dev.to/paco_ita/train-your-javascript-skills-with-on...</a><p>Two, why not set your kid up with PyCharm, and start dabbling together with Python. (like build a simple chatbot or something that pulls stuff from Wiki).
I recommend you take a look at Roblox Studio [1]. My 10yo started out by building simple 3D Obby (obstacle course) games in a manner of minutes with no initial programming. Trough that initial interest he will now modify and even create Lua scripts to perform more complex game actions. The Lua scripting engine + API is simple but at the same time powerful and allows for very complex games.<p>There is also a quite active Roblox Developer forum [2], and good documentation of their API [3].<p>I don't push him much, and allow him to learn Lua / programming in gneral at his own pace. The game aspect definitely keeps his interest that I'm not so sure he would otherwise have.<p>[1] <a href="https://roblox.com/create" rel="nofollow">https://roblox.com/create</a>
[2] <a href="https://devforum.roblox.com" rel="nofollow">https://devforum.roblox.com</a>
[3] <a href="https://developer.roblox.com" rel="nofollow">https://developer.roblox.com</a><p>Disclaimer: I work for Roblox on the Studio team now. This is largely due to my positive experience with Roblox Studio well before I even considered working for the company.
I have been teaching kids games programming with Python. I have compiled some of the material I created into a book here: <a href="https://github.com/electronstudio/pygame-zero-book" rel="nofollow">https://github.com/electronstudio/pygame-zero-book</a><p>The only way I have found to maintain interest is to do fewer toy examples and more full-size games, but that also inevitably leads to the kids not understanding so much of what they are doing. I think ultimately you have to accept that some kids will be interested in coding and some will not, no matter how 'fun' you make it.
Zachtronics:<p>Start with e.g. opus magnum. Visual, will teach basic concepts of sequencing instructions, iteration etc.<p>Then Shenzhen I/O if they enjoy it<p>Alternatively:<p>Human resource machine (programming)<p>7 billion humans (parallel programming, probably will teach antipatterns but still useful)<p>Alternatively:<p>LOGO. This is how I learned to program back in the 80s. Drawing pictures. Draw a line. Rotate. Make a square by writing a loop to draw a line and rotate 4 times. Make a window by drawing a square + 2 more lines. Make a house by drawing a window and doors.<p>Even at university I remember the first year programming course included a 'draw a house using ALGOL' exercise.
You should take a look at Processing 3 (a graphical Java). My dad introduced me to it at about 12yrs. All he did was give me a YouTube playlist to work through and it has held my interest till this day.<p>I would say any framework with a narrow focus on graphics and instant graphical feedback (like SFML for C++) would be great for kids or any beginner. Also, Khan Academy has great resources based on ProcessingJS and even a simple submission board with a community of other young learners.
Shameless plug, but I've written a few simple game tutorials on my blog. Minesweeper, Snake, Tic Tac Toe, Hangman, etc.<p><a href="https://mitchum.blog/game-tutorials/" rel="nofollow">https://mitchum.blog/game-tutorials/</a>