Simple implementation of a 2d platformer in ruby and gosu