Writing an Asteroids game - Teaching a 12yo to program
Posted: Thu Jul 11, 2013 7:16 pm
Hi.
My first post. A few months ago my 12 year old niece asked if I could teach her to program. An interesting question. I've been programming for more than 30 years so the answer should be yes. But what to teach her? Ideally she should be able to create something fun with relatively modest effort. And so I started striking candidates off the list. Eventually the page was empty so I knew I'd have to look further afield.
After much searching I stumbled across these pages about Löve 2D. I'd heard of Lua before in the context of Unity 3D. Since then I've found .lua files lurking all over the place. It's a lot more popular than I'd initially thought. Anyway, Löve 2D has proven to be an ideal vehicle to teach my niece to program. The asteroids game is the culmination of our first project together.
You can find some tutorials that I created for her on my web site at
http://www.dr-iguana.com/prj_love_and_lua/index.html
I'm still writing the last two tutorials but the code is complete. Hope you find it useful.
Cheers.
Dr Iguana
My first post. A few months ago my 12 year old niece asked if I could teach her to program. An interesting question. I've been programming for more than 30 years so the answer should be yes. But what to teach her? Ideally she should be able to create something fun with relatively modest effort. And so I started striking candidates off the list. Eventually the page was empty so I knew I'd have to look further afield.
After much searching I stumbled across these pages about Löve 2D. I'd heard of Lua before in the context of Unity 3D. Since then I've found .lua files lurking all over the place. It's a lot more popular than I'd initially thought. Anyway, Löve 2D has proven to be an ideal vehicle to teach my niece to program. The asteroids game is the culmination of our first project together.
You can find some tutorials that I created for her on my web site at
http://www.dr-iguana.com/prj_love_and_lua/index.html
I'm still writing the last two tutorials but the code is complete. Hope you find it useful.
Cheers.
Dr Iguana