A few years ago, I was showing my kids what I was doing at my job by using Scratch on the computer. Basically, it's a software that lets you create small games and applications using logic blocks that you can drag and drop on you characters. It's a bit like playing Lego blocks with your mouse.
The best thing is that Scratch Jr. is free. The MIT has created this amazing app so kids, and grown ups, can learn about software development in a fun way.