Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 784 Bytes

File metadata and controls

26 lines (24 loc) · 784 Bytes

LCD Digits Kata

Task

Your task is to create an LCD string representation of an integer value using a 3x3 grid of space, underscore, and pipe characters for each digit. Each digit is shown below (using a dot instead of a space)

._.   ...   ._.   ._.   ...   ._.   ._.   ._.   ._.   ._.
|.|   ..|   ._|   ._|   |_|   |_.   |_.   ..|   |_|   |_|
|_|   ..|   |_.   ._|   ..|   ._|   |_|   ..|   |_|   ..|

Example

An input of 910, should output the following:

._. ... ._.
|_| ..| |.|
..| ..| |_|

Authors