Where can I learn basic game coding

What milestones should a child reach before learning to code?

As a programmer, I would suggest the following to you:

Abstract Thinking, Pragmatic Thinking, Higher Problem Solving. Design pattern (Not programming in general, but building. Building in the sense of building, building. Did you know that design patterns arise from designing buildings and solving technical problems?)

Also, I would recommend starting with the famous little programming language for kids: Logo. There are actually pretty good games to get your kid up and running.

But you can google this so I don't bother copying these results. Your main goal is to get his attention and get him to think like a programmer, or at least start thinking like one.

After that, you can start applying the knowledge to algorithms and solving problems and object-oriented programming.

I would also recommend using mind maps, as children are more likely to remember to shine brightly on colorful things. :) http://en.wikipedia.org/wiki/Mind_map

Ohhh too ... I forgot, but that might help.

As a kid, I loved automating everything. That's why I'm an automation test engineer today. It might be fun showing your child how to automate tasks. How to manipulate the windows and what your pc is doing. Maybe a real-world interaction like OCR with a video feed. Or a simple motion tracking system with a cheap camera.

I think the boy would be very happy if he could see, for example, whether his parents are approaching his room. :) Or build a little Lego robot and program a routine into it, like get me milk. Which is difficult but gets it working and also will have a goal and a real life experience that is VERY important in the first few years.

See: Lego Mind Storm: http://mindstorms.lego.com/en-us/Default.aspx

MJ6

I used to teach Logo (now free download) to first graders. They need to know the alphabet, practice finding letters on the keyboard, and have a basic understanding of numbers. Most of the "words" in the logo are only two letters long, and working with the logo conveys concepts of numbers such as angles and sizes. By the age of 9 or 10, kids can do some amazing things with it.

Per Alexandersson

Reading sheet music is very similar to reading code.

mallow

I recommend tedfelix.com/qbasic as a guide for the building blocks. You don't need to use qbasic or freebasic to modernize the document. However, if you skip the floppy material, everything else will be built on top of everything else. All of my code is more complicated one way or another, these simple commands. (In the respected language, I code that). Legos sound funnier, although in my day I could never have afforded Lego programming.