// Christopher Tillack // Reminder: This code is for a storyboard. A storyboard is a story that lets you makes choices, and changes based on your choices. #include <stdio.h> int main(void) { int characterName; char characterName[100]; int aa; printf("Hello. This code will write a story, based on your choice.\n"); printf("What is the name of your character?\n"); scanf("%s",characterName); printf("Your name is %s",characterName); printf("\n"); printf("One day, while walking through a forest, you encounter a mysterious, entrancing portal. Do you enter it %s", characterName); printf("?\n"); printf("Enter Number 1 to Stay, Number 2 for Entering it.\n"); scanf("%i",&aa); if (aa == 1); { printf("You chose to stay. END OF STORY."); } if (aa == 2) { printf("You step towards the bright, purple portal.\n It looks like a swirly mirror. You are entranced as you step forward, step after step. Adventures await you."); } return 0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)