Show HN: My first Open Source project -- Teaching my son Lua
github.com
github.com
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.
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.
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.
----
[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?
or some of the others. I'm thinking of doing the same with my son this summer.
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.