# Draw This ASCII art In The Least Amount Of Bytes(edited) [closed]

your challenge is to draw this ASCII art:

|     |  |- - - -  |       |       - - -
|     |  |         |       |       |   |
|- - -|  |- - -    |       |       |   |
|     |  |         |       |       |   |
|     |  |- - - -  |- - -  |- - -  - - -


remember this is code golf meaning you have to answer in the least amount of bytes possible. EDIT: spacing between letters is two spaces. the only symbols used are | and -. NO underscores. i added spaces between the dashes to make it easier to see how many there are

• Can you add a description of how to draw it (dimensions, spacing, characters, etc.)? The title is also very vague, and applies to any ascii-art challenge. I'd recommend using the sandbox for future challenges. – Redwolf Programs Mar 1 at 15:34
• is there a mistake at the bottom of the E or is this on purpose to have a - instead of a —? (just for the sake of nitpicking, it actually introduces a welcomed conmplexity IMO) – Kaddath Mar 1 at 15:40
• @Kaddath personally, I'd prefer it without the odd character on the E. At a certain point, odd quirks lead to uninteresting off-the-shelf compression based algorithms. I'd also prefer the use of ASCII - throughout. Use of non-ASCII characters excludes certain languages. – Level River St Mar 1 at 16:04
• @LevelRiverSt totally valid points, I tend to forget ASCII only languages (and the question is called ASCII art after all) – Kaddath Mar 1 at 16:07

# 05AB1E, 52 bytes

•C"¹Ò∞ʒÓŸ2ýŸ¦ÙLŒðd4Í}‡éλPÓãžãš±àýEŽª™§M₆2•… |-ÅвJ5ä»


Try it online!

•...•… |-ÅвJ5ä»  # full program
»  # join...
J     # joined...
Åв      # characters in...
… |-        # literal...
Åв      # with indices in digits of...
•...•            # 88667318995411980279046696478254356886483104218636819581201379955454517801745112819324119476267...
Åв      # in base length of...
… |-        # literal...
ä   # split into...
5    # literal...
ä   # equal sized pieces...
»  # by newlines
# implicit output


# PHP, 63 bytes

<?=gzinflate('«Q  ÒU€@&a^®¸J4Èt
P%XÂL<*‰7‹;Ñh0');


WARNING: this code contains many non-printable chars and a function that is disabled in most online code testers. It is either impossible to enter the correct code on their sites or run the function. Here is the php file I uploaded to gitHub so that you can test (I recommend using <pre><code> tags to see it as intended in a browser, because of spaces being narrower than —, and new lines ignored in HTML):

Try it OFFline!

Well this is a one-time trick that is becoming recurrent, and quite boring, as all I need to do is reuse the script I made to generate the file, replace the string and run it. So this is the last time I'll use this trick, and I post it as a demonstration of why these challenges are not that much interesting IMO.

EDIT: updated the answer and the file with edited question (the string is shorter, so from 94 bytes originally to 63)

# Charcoal, 54 bytes

≔…- ⁵θ↓³↗→θ↑³Ｍχ¹←…- ⁷↓³↗→θＭ²⁰→Ｐ↑²Ｍ⁴→↑²←θ‖Ｏ↓Ｆ²«←←←θＰ↑⁵←


Try it online! Link is to verbose version of code. Explanation:

≔…- ⁵θ


Construct the string - - - as it gets used a lot.

↓³↗→θ↑³


Draw the top half of the H.

Ｍχ¹←…- ⁷↓³↗→θ


Draw the top half of the E.

Ｍ²⁰→Ｐ↑²Ｍ⁴→↑²←θ


Draw the top half of the O.

‖Ｏ↓


Reflect to complete the HE O.

Ｆ²«←←←θＰ↑⁵←


Draw two Ls.

Or I could just do boring string compression for 51 bytes:

”~∨CθＯÀ·y←B～⊟⧴n^；δＳ3E⊖⎇✂↶0¶KZ7≦%⊕wG4Ｈ⁻φ｜eＰυυ[qπ<Φ⊙›


Try it online! Link is to verbose version of code.

If there were no spaces in the horizontal lines, it would be only 44 bytes:

↓³↗→⁵↑³Ｍχ¹←⁷↓³↗→⁵Ｍ²⁴→↑²←⁴Ｐ↓³←¹‖Ｏ↓Ｆ²«←←←⁵Ｐ↑⁵←
`

Try it online! Link is to verbose version of code.