Coasters by pooq

val a=readLine
val s=a.size
val(b,c)=("_"*(s+2)," "*(s+2))
val d=if(6>s)c else c+"|\n|"+c
printf(""" %s
/%s\
|%s|
| %s |
|%s|
\%s/""",b,c,d,a,d,b)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page