simple game written in ruby