"
-x|"•L®y[Â-Γ•5вèJ.º.∊
Cobalah online.
25 24 byte alternatif:
… -|•B°”Ñ•3вèJ3ä'x«».º.∊
Cobalah online.
Penjelasan:
"\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)
Lihat tip tambang 05AB1E ini (bagian Bagaimana cara mengompresi bilangan bulat besar? ) Untuk memahami mengapa •L®y[Â-Γ•
ada 5960566858660563
atau •B°”Ñ•
tidak 193812448
.
Berkat generator ASCII-art @MagicOctopusUrn untuk •L®y[Â-Γ•5BžLR"\n -x|"‡
dan •B°”Ñ•3BžLR" -|"‡
, setelah itu transliterate telah di-golf lebih lanjut dengan menukar nomor dan string pada stack, gunakan в
alih-alih B
, dan indeks ke dalam string dengan è
.