Becoming Familiar with lua

17 Jun 2015 . Programming . Comments


To get started I found the following two links particularly useful.

It is probably clear by the title of the posts that both of them are written by the same author named Tyler Neylon. After going over above two, my first impression of lua is that it is incredibly fast and flexible. As the same time, it is not necessarily easy to code and debug as relies on very simple API and negligible footprint. My purpose here was just to get in working terms with lua before I can start learning Torch for Deep Learning and experiment my own ideas.

Fun Excercise

I told myself, sure I have read the 15 minute intro and watched a more detailed introduction, but do I really feel at ease let alone proficient (which is not what I want). I needed to do a hands on dummy project, and what better than making a simple game (after all lua became popular after famous game embedded World of Warcrafts used it extensively).

I love those little wooden board puzzles. When I was a child, I remember my family bought this little puzzle called Abhimanyu Chakra. Until about an year ago, I had no memory of the puzzle left except for the fact that family loved it and dad was known to be super proficient solving it. Now that I think about it further, my brother when he was doing his 12th class project, he wanted to remake a computer avatar of it. He didn’t. It turns out that Abhimanyu Chakra is an Indian remake of The Great Escape.

The Great Escape


Nevertheless, it was easy decision for me and so I went ahead. It took me a little over few hours to code it. The first working version can be found on my github.