Project: Add Layers to Your Adventure
Create an interactive story by adding multiple decision points using functions and conditional logic.
We'll cover the following
Task
In this challenge, you’ll create a choose-your-own-adventure story using functions, conditional logic, and nested decisions.
You’ll guide the player through:
An initial choice between three paths:
river
,mountain
, orjungle
A second decision point within at least one of those paths
At least three options for one of the decisions to make the story more dynamic
Note: You’ll need to:
Use the
input()
function to get choices from the user.Use
if
,elif
, andelse
to control the flow of the story.Nest decision points inside each other for deeper story branches.
Make your story engaging with fun outcomes.
Let your creativity run wild—you’re the storyteller now.
Get hands-on with 1400+ tech skills courses.