Tetris by niha

gets$9;i= ~/#//4;puts [" "*10]*[4.times{sub!("#"," ")[$`.size+[?y,132,66][i]]=35},1,2][i],$_.grep(/ /)

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

download

return to the top page