Diamond cards by hide24

def r a;a+a.reverse[1,8]end
loop{puts'-'*17
y=r'%o'%'
\xca"\x00,\xa2 \x00\xc8\xb8 \x00R\x90qA\x88\xa4 \x00\x9c\xa4 \x00\x92\xa4 \x00\x9c\xa4q\x00\x92\xa4q\x00\x9c$I\x00'.unpack('L*')[-eval(gets)]
15.times{|i|puts (r'%9b'%'\xe0@\x00\x01\x03A'[y[i]%8]).tr'01',' *'}}

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

download

return top