A multipath story engine in ruby