Yet another tetris engine written in ruby