Has anyone ever successfully programmed one?

If so, when and how long did it take you? 

Also, how many lines of code did it take you to do it?