rewrite of Fallout 3 adventure minigame in Ruby