Worm game in under 50 line of code in ruby