Skip to main content
added 65 characters in body
Source Link
noodle person
  • 10.3k
  • 1
  • 22
  • 76

TinyAPL, 51 47 4744 bytes*

{" -|\/O"⊇⍨1+5⌊+⍆+⍆↟O"⊇⍨5⌊+⍆+⍆↟(⊖⊸,=⊞⍨a)⍪⍉⊸,⊣⊞⍨⍵=a←0⍪⍳2×⍵⊣⊞⍨⍵=a←⍳⧺2×⍵}

Try it: TinyAPL REPLTinyAPL REPL


*Encoded with 1 byte per character using (⎕Import"std:sbcs")→Encode.

TinyAPL, 51 47 bytes*

{" -|\/O"⊇⍨1+5⌊+⍆+⍆↟(⊖⊸,=⊞⍨a)⍪⍉⊸,⊣⊞⍨⍵=a←0⍪⍳2×⍵}

Try it: TinyAPL REPL


*Encoded with 1 byte per character using (⎕Import"std:sbcs")→Encode.

TinyAPL, 51 47 44 bytes*

{" -|\/O"⊇⍨5⌊+⍆+⍆↟(⊖⊸,=⊞⍨a)⍪⍉⊸,⊣⊞⍨⍵=a←⍳⧺2×⍵}

Try it: TinyAPL REPL


*Encoded with 1 byte per character using (⎕Import"std:sbcs")→Encode.

added 1 character in body
Source Link
noodle person
  • 10.3k
  • 1
  • 22
  • 76

TinyAPL, 5151 47 bytes*

{" -|\/O"⊇⍨1+5⌊+⍆+⍆↟[⊖c⋄c←=⊞⍨a⋄⍉b⋄b←⊣⊞⍨⍵=a←0⍪⍳2×⍵]O"⊇⍨1+5⌊+⍆+⍆↟(⊖⊸,=⊞⍨a)⍪⍉⊸,⊣⊞⍨⍵=a←0⍪⍳2×⍵}

Try it: TinyAPL REPLTinyAPL REPL


*Encoded with 1 byte per character using (⎕Import"std:sbcs")→Encode.

TinyAPL, 51 bytes*

{" -|\/O"⊇⍨1+5⌊+⍆+⍆↟[⊖c⋄c←=⊞⍨a⋄⍉b⋄b←⊣⊞⍨⍵=a←0⍪⍳2×⍵]}

Try it: TinyAPL REPL


*Encoded with 1 byte per character using (⎕Import"std:sbcs")→Encode.

TinyAPL, 51 47 bytes*

{" -|\/O"⊇⍨1+5⌊+⍆+⍆↟(⊖⊸,=⊞⍨a)⍪⍉⊸,⊣⊞⍨⍵=a←0⍪⍳2×⍵}

Try it: TinyAPL REPL


*Encoded with 1 byte per character using (⎕Import"std:sbcs")→Encode.

added 89 characters in body
Source Link
noodle person
  • 10.3k
  • 1
  • 22
  • 76

TinyAPLTinyAPL, 51 bytes*

{" -|\/O"⊇⍨1+5⌊+⍆+⍆↟[⊖c⋄c←=⊞⍨a⋄⍉b⋄b←⊣⊞⍨⍵=a←0⍪⍳2×⍵]}

Try it: TinyAPL REPLTinyAPL REPL

 

Port of my Uiua solution.*Encoded with 1 byte per character using (⎕Import"std:sbcs")→Encode.

TinyAPL, 51 bytes

{" -|\/O"⊇⍨1+5⌊+⍆+⍆↟[⊖c⋄c←=⊞⍨a⋄⍉b⋄b←⊣⊞⍨⍵=a←0⍪⍳2×⍵]}

Try it: TinyAPL REPL

Port of my Uiua solution.

TinyAPL, 51 bytes*

{" -|\/O"⊇⍨1+5⌊+⍆+⍆↟[⊖c⋄c←=⊞⍨a⋄⍉b⋄b←⊣⊞⍨⍵=a←0⍪⍳2×⍵]}

Try it: TinyAPL REPL

 

*Encoded with 1 byte per character using (⎕Import"std:sbcs")→Encode.

Source Link
noodle person
  • 10.3k
  • 1
  • 22
  • 76
Loading