Coding for Kids · Lesson

Planning the Adventure

Design the game.

Lesson 1 of 413 steps

Planning the Adventure is a free Coding for Kids lesson on CoddyKit. This is lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Coding for Kids learning path, and your progress syncs across the web and the CoddyKit app. The Coding for Kids course includes 4 lessons in total.

An Adventure Awaits! 🗺️

Ahoy, explorer! 🏴‍☠️ Today we begin building a Treasure Hunt Adventure game in Python! 💎

First, every great game needs a PLAN! Let's design ours! 📝

print("Welcome to the Treasure Hunt! 🗺️")

Tell the Story 📖

A game is a STORY the player walks through! 📖

Let's print the beginning of our adventure! 🌟

print("You stand at the edge of a dark jungle. 🌴")
print("Legend says treasure is hidden inside! 💎")

Welcome the Player 👋

Ask the player's name so the story feels personal! 😊

name = input("What is your name, brave explorer? ")
print(f"Welcome, {name}! Your adventure begins! 🎒")

Set the Scene 🌋

Describe the world with lots of fun details! 🌋🌴

Good descriptions make the player feel like they're really there! ✨

print("Around you: tall trees 🌳, a misty river 🌫️,")
print("and a mysterious cave up ahead. 🕳️")

Track the Player 🎒

Let's keep track of the player's stuff using variables! 🎒

Like how much health and how many coins they have!

health = 100
coins = 0
print("Health:", health, "❤️")
print("Coins:", coins, "🪙")

A Map of Places 🗺️

Let's list the places the player can visit using a list! 🗺️

places = ["Jungle", "Cave", "River", "Temple"]
for place in places:
    print("📍", place)

A Pause for Drama ⏸️

Printing lines one after another builds excitement! 🎬

We tell the story step by step to keep the player curious! 🤩

print("You take a deep breath... 😤")
print("...and step into the jungle! 🌴")
print("The adventure has begun! 🎉")

Game Title Screen 🖼️

Every game needs a cool title screen! Let's make one with a box! 🖼️

print("========================")
print("  TREASURE HUNT 💎🗺️")
print("========================")

Rules of the Game 📜

Tell the player the rules so they know how to win! 📜

print("RULES: 📜")
print("1. Explore the jungle 🌴")
print("2. Make smart choices 🤔")
print("3. Find the treasure! 💎")

Ready to Begin 🚦

Let's ask if the player is ready before starting! 🚦

ready = input("Are you ready? (yes/no) ")
print("Let's GO! 🏃💨")

Game Planner! 🏆

You designed the start of your game! 🎉

  • Tell a story with print() 📖
  • Ask the player's name ⌨️
  • Track health and coins in variables 🎒
  • List places to explore 🗺️

Next: making CHOICES to branch the story! 🌳

print("My game is planned! 🗺️🥇")

Quick Check ✅

Let's check your game-design skills! 🧠

Recap Time! 🎒

Great work, game planner! 🌟

  • A game is a story you print() 📖
  • Ask the player's name for fun 😊
  • Track stuff in variables 🎒
  • Lists hold places to visit 🗺️

Next: branching the story with choices! 🌳

print("Planning the Adventure: complete! 🚀")
Free to start

Learn Python with an AI tutor — free

Write and run real code in your browser, get instant help from a 24/7 AI tutor, and pick up where you left off on the web or in the app.

Courses
35
Lessons
140

Frequently Asked Questions

Is the “Planning the Adventure” lesson free?

Yes — the full text of “Planning the Adventure” is free to read here on the web. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Coding for Kids course, upgrade to CoddyKit PRO. The Coding for Kids course includes 4 lessons in total.

What will I learn in “Planning the Adventure”?

Design the game. You practise Coding for Kids with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Coding for Kids?

No prior experience is required. Coding for Kids on CoddyKit is structured for beginners through advanced learners, so you can start here or from the beginning and move at your own pace. This is lesson 1 of 4.

How long does the “Planning the Adventure” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Coding for Kids lesson?

Yes. Every Coding for Kids lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Planning the Adventure
  2. Making Choices
  3. Finding Treasure
  4. Game Over
← Back to Coding for Kids