The task is to display any of the 128 possible states of a 7-segment display.
Your program should accept a string of 7 characters ("bits") that are either
First bit of input corresponds to segment A of the following illustration, the
second to B, etc (ignore
How you represent the display is up to you -- a single Unicode or ASCII symbol, ASCII art, grafically, or whatever you can come up with. However, each input must have it's own distinct output. If you come up with something fancy I'm sure you can harvest upvotes by showing off some examples.
All 128 possible states of the display are:
- As I said, any kind of output is allowed, but it would be nice if you specified it.
- Input can be stdin or command line argument.
Different kinds of ASCII art (I'm not too good at this)
_ ╺┓ ╒╗ --- _| ┏┛ ╔╝ | |_ ┗╸ ╚╛ --- | ---