"
-x|"•L®y[Â-Γ•5вèJ.º.∊
Experimente online.
25 alternativa de 24 bytes:
… -|•B°”Ñ•3вèJ3ä'x«».º.∊
Experimente online.
Explicação:
"\n -x|" # Push string "\n -x|"
•L®y[Â-Γ• # Push compressed number 5960566858660563
5в # Converted to Base-5 as list:
# [2,2,2,2,2,2,3,0,4,1,1,4,1,1,3,0,4,1,1,4,2,2,3]
è # Index each digit into the string
J # And join the list together
# "\n -x|" and [2,2,2,2,2,2,3,0,4,1,1,4,1,1,3,0,4,1,1,4,2,2,3]
# → "------x\n| | x\n| |--x"
.º # Intersect mirror everything horizontally
.∊ # Intersect mirror everything vertically (and output implicitly)
… -| # Push string " -|"
•B°”Ñ• # Push compressed integer 193812448
3в # Converted to Base-3 as list: [1,1,1,1,1,1,2,0,0,2,0,0,2,0,0,2,1,1]
è # Index each digit into the string
J # And join the list together
# " -|" and [1,1,1,1,1,1,2,0,0,2,0,0,2,0,0,2,1,1]
# → "------| | | |--"
3ä # Split the string into three parts: ["------","| | ","| |--"]
'x« '# Append an "x" to each: ["------x","| | x","| |--x"]
» # Join by newlines: "------x\n| | x\n| |--x"
.º # Intersect mirror everything horizontally
.∊ # Intersect mirror everything vertically (and output implicitly)
Veja esta minha dica 05AB1E (seção Como comprimir números inteiros grandes? ) Para entender por que •L®y[Â-Γ•é 5960566858660563e •B°”Ñ•é 193812448.
Graças ao gerador de arte ASCII do @MagicOctopusUrn para •L®y[Â-Γ•5BžLR"\n -x|"‡e •B°”Ñ•3BžLR" -|"‡, após o qual o transliterado foi aprimorado, trocando o número e a string na pilha, use em вvez de Be indexe na string com è.