Re:Show HN: My first Open Source project -- Teaching my son Lua
by shawndumas on Monday May 21, 2012 @06:29AM
(#4002156)
A Lua Text Adventure Engine: Having settled on lua as a first 'real' programming language to teach my son I created a text adventure engine for him to code up some games. (He had a blast with MIT's Scratch and Lego's MindStorms.)
There are two complete, albeit short, examples for him / you to get started with. I am learning Lua as well and so far I love it. Since I am a beginner to Lua I am certain that I am not coding idiomatically; any suggestions are welcome.
Re:Show HN: My first Open Source project -- Teaching my son Lua
by shawndumas on Monday May 21, 2012 @07:37AM
(#4002331)
10; His eyes where glazing over when I was talking about abstract concepts. He really liked Scratch because it was immediately available; very audio-visual.
Once I got one complete adventure written he was excited to do the second with me. Now hopefully he'll take one from cradle to grave with only oversight from me.
Re:Show HN: My first Open Source project -- Teaching my son Lua
by christianbryant on Monday May 21, 2012 @01:01PM
(#4003746)
My daughter's almost 5 but she's shown a strong interest in programming from early on. I had an XO for a time, and she was absorbed with Turtle from the get-go. Still a little young, I think, for Lua but your experience has got me thinking about it. Cheers.
Re:Show HN: My first Open Source project -- Teaching my son Lua
by leke on Monday May 21, 2012 @07:44AM
(#4002364)
I have an 8 year old, who is video game crazy. Lua is a tidy little language which I had a hard time deciding it against python and javascript.
The Löve 2D game engine for Lua eventually settled it for me.
Re:Show HN: My first Open Source project -- Teaching my son Lua
by laacz on Monday May 21, 2012 @08:00AM
(#4002414)
I'm sorry, if this is off topic, but is it common to put your project files into version control system? I'm talking about .sublime-project and .sublime-workspace.
Re:Show HN: My first Open Source project -- Teaching my son Lua
by xxiao on Monday May 21, 2012 @10:09AM
(#4002897)
I chose python and html/css/javascript for my kid, who is 9, the python game book got him started and now I was challenged at dinner table by various Python module questions...
first thing after he started html, is:
why can't html have if-else?
There are two complete, albeit short, examples for him / you to get started with. I am learning Lua as well and so far I love it. Since I am a beginner to Lua I am certain that I am not coding idiomatically; any suggestions are welcome.
http://geolua.com/ - Allows you to develop mobile games for the browser using lua. http://geolua.com/adventure/all-widgets-demo-132 shows a basic example.
http://github.com/dividuum/infon - A multiplayer game where players control ant-like creatures using lua. They fight, evolve and compete for food. https://github.com/dividuum/infon/tree/master/contrib/bots has some example code.
Once I got one complete adventure written he was excited to do the second with me. Now hopefully he'll take one from cradle to grave with only oversight from me.
----
[1]: https://github.com/shawndumas/adventure.lua/wiki/Getting-Sta...
[2]: https://github.com/shawndumas/adventure.lua/blob/master/xamp...
first thing after he started html, is: why can't html have if-else?
My guess is he'll hate the transition for awhile but will have a lot of great habits and concepts that will really serve him well in JS.
http://inventwithpython.com/
or some of the others. I'm thinking of doing the same with my son this summer.