Page 2 of 2

Re: Lua missions (AKA Lua Koans) - Learn Lua while programmi

Posted: Mon Jun 13, 2011 10:13 pm
by kikito
This week I'm a bit busy with another project. But next week I'll add more exercises.

fizzbuzz is a bit boring for my taste. I prefer less "algorithm oriented" problems. For example, the ruby koans have a great exercise called "triangles" - given three side lengths, return "equilateral", "isosceles" or "scalene". I dig that kind of thing, and graph theory stuff.

But anyway, thanks for the suggestion!

Re: Lua missions (AKA Lua Koans) - Learn Lua while programmi

Posted: Tue Jun 14, 2011 5:21 pm
by TechnoCat

Code: Select all

dcfritz@mdw-14:~/downloads/kikito-lua_missions-2f1dc69/missions$ lua missions.lua .............................................................................................................................................................................................................

*** Mission status ***

asserts...........................................[Complete]
variables.........................................[Complete]
numbers...........................................[Complete]
strings...........................................[Complete]
patterns..........................................[Complete]
control...........................................[Complete]
truthiness........................................[Complete]
functions.........................................[Complete]
errors............................................[Complete]
load..............................................[Complete]
tables............................................[Complete]
tables_and_functions..............................[Complete]
meta..............................................[Complete]
indices...........................................[Complete]
exercise..........................................[Complete]
weak_tables.......................................[Complete]
environments......................................[Complete]


Congratulations! You have finished all the missions!

Re: Lua missions (AKA Lua Koans) - Learn Lua while programmi

Posted: Tue Jun 14, 2011 5:57 pm
by Robin
I really miss the Zen stuff in here. :(

Re: Lua missions (AKA Lua Koans) - Learn Lua while programmi

Posted: Tue Jun 14, 2011 7:36 pm
by vrld
Robin wrote:I really miss the Zen stuff in here. :(
Two monks were walking across a bridge. The junior monk said to his teacher: "What is the Buddha nature?" The other monk picked him up and threw him in the water.

Re: Lua missions (AKA Lua Koans) - Learn Lua while programmi

Posted: Tue Jun 14, 2011 9:27 pm
by kikito
@technocat: congratulations! you completed all the missions!

@robin: I don't know enough zen to make proper fun of it.

@vrld: you win