snake game written in Ruby