I remember writing Choose Your Own Adventure games on the Apple IIe back in the day... in Applesoft BASIC.