https://gist.github.com/arikfr/11362378#file-gistfile1-txt Goal: write a program that displays LCD style numbers.
Write a program that given a number (with arbitrary number of digits), converts it into LCD style numbers using the following format:
| _| ||||_ |_ |||||
||_ _| | ||| ||_| _|
(each digit is 3 lines high)
Note: Please do NOT read the second part before completing the first. Part of the purpose of this kata is to make you practice refactoring and adapting to changing requirements.
Change your program to support variable width or height of the digits. For example for width = 3 and height = 2 the digit 2 will be:
I saw a screen cast that Corey Haines did on this at
The code for his solution is at http://github.com/coreyhaines/kata-number-to-led
The basic idea is the inverse of KataBankOCR