You could try using one of the Fighting Fantasy game books as the design. I thought about doing just that back in the days of my C64 but there was nowhere near enough memory to accomplish that.