91
9
The challenge is actually extremely simple. Pick 5 distinct letters (you can just pick the 5 that allow you the shortest code if you like) and output them to the console. However, the twist is that they must be from the following list:
AAA BBBB CCCC DDDD EEEEE FFFFF GGG H H
A A B B C D D E F G H H
AAAAA BBBB C D D EEEE FFFF G GG HHHHH
A A B B C D D E F G G H H
A A BBBB CCCC DDDD EEEEE F GGG H H
IIIII J K K L M M N N OOO
I J K K L MM MM NN N O O
I J KKK L M M M N N N O O
I J J K K L M M N NN O O
IIIII JJJ K K LLLLL M M N N OOO
PPPP QQQ RRRR SSSS TTTTT U U V V W W
P P Q Q R R S T U U V V W W
PPPP Q Q RRRR SSS T U U V V W W
P Q QQ R R S T U U V V W W W
P QQQQ R R SSSS T UUU V W W
X X Y Y ZZZZZ
X X Y Y Z
X Y Z
X X Y Z
X X Y ZZZZZ
Additional Rules:
- 5 of the same letter is not allowed, no repeat choices.
- Each letter must use the capital of itself as the ascii-character to draw it.
- Each letter output must be on the "same line" and have 5 spaces between each letter.
- You may choose any 5 letters that you want, this will allow you to reuse some code and lower your byte count. Figuring out which letters will allow you to do this most efficiently is part of the challenge.
- Trailing spaces are acceptable.
- A single trailing newline is acceptable, no more than one trailing newline though.
- This is code-golf, lowest byte-count wins.
Examples:
A B C D E
AAA BBBB CCCC DDDD EEEEE
A A B B C D D E
AAAAA BBBB C D D EEEE
A A B B C D D E
A A BBBB CCCC DDDD EEEEE
E F L I P
EEEEE FFFFF L IIIII PPPP
E F L I P P
EEEE FFFF L I PPPP
E F L I P
EEEEE F LLLLL IIIII P
C R A Z Y
CCCC RRRR AAA ZZZZZ Y Y
C R R A A Z Y Y
C RRRR AAAAA Z Y
C R R A A Z Y
CCCC R R A A ZZZZZ Y
Don't be afraid to submit more than one answer with different letters or different strategies each time, this can be accomplished various different ways.
22I like that you get to choose which letters to output; that adds another layer to the golfing. Minor issues with the ASCII art: there's a ton of trailing spaces, and two
J
s. – ETHproductions – 2016-11-15T15:16:14.5801@ETHproductions Rofl, the 2 J's got past both ME and the sandbox, fixing. – Magic Octopus Urn – 2016-11-15T15:17:22.057
2Can you add a bonus for taking 5 letters as input? – Mukul Kumar – 2016-11-15T18:22:58.220
5Bonuses are frowned upon and there are too many answers to make a drastic change such as that. But I will give you an upvote ;). – Magic Octopus Urn – 2016-11-15T19:05:42.333
Are leading blanks ok? – Titus – 2016-11-17T17:40:30.520
@Titus no, only trailing. – Magic Octopus Urn – 2016-11-17T18:13:39.173
What about a leading linebreak instead of a trailing one? – Titus – 2016-11-17T22:56:50.103
1@Titus I don't know why you'd need them; trailing makes more sense. If you can logically explain how a limitation of the language you are using and not the logic you've written is causing a leading
\n
, I will allow it. – Magic Octopus Urn – 2016-11-18T14:26:30.787Not needing them, they would only save a byte on my code. – Titus – 2016-11-18T17:19:20.517
1@Titus then no. The trailing newlines and spaces are due to programmatic limitations of certain languages. – Magic Octopus Urn – 2016-11-18T17:31:19.707