Interactive storytelling : techniques for 21st century fiction