Managing the plot structure of character-based interactive narratives in games