Snake game written in ruby