Weekly task notes

无标题的笔记本 (2)-2.jpg

无标题的笔记本 (2)-3.jpg

无标题的笔记本 (2)-4.jpg

Do

Create a sketch where users make difficult choices and the program reacts.

main idea:    Choice → Condition → Consequence

Theme: Two Roads in a Yellow Wood (inspired by The Road Not Taken)

User choices:

Press 1 → Take the mysterious road Press 2 → Take the safe road

How this matches the assignment:

  1. Conditional statements

The story changes using:

if ()
else if ()
else

The user's choice controls the program flow.

Difficult choices

The player chooses between: