Dragon Spells

Students learn coding concepts as they solve these puzzles to train their dragon to find treasure. Request Quote

Course Summary
  • Grades 3 - 5
  • Beginner level
  • 10 lessons
  • Tynker Blocks
    • Web iPad
Course Includes
  • 10 lessons
  • 67 activities
  • Enhanced Creativity Tools
  • Automatic Assessment
  • Tutorials and Reviews
  • Coding Puzzles
  • DIY Projects
  • Quizzes
  • Answer Keys
No previous coding experience required.

Lesson Plan

Course: Dragon Spells
Lesson 5: Dragon Scrolls
Number of Levels: 7
Time: 30+ mins


These puzzles are designed to introduce your students to the concept of abstraction. Abstraction is finding the commonalities within a group so that it is easier to think about that group. In coding, abstraction is useful when the same actions need to be performed on different items. If we can group the items by similarities, then we can have code that works on every item in a group. Your students will first practice using code blocks from previous lessons and applying them in a slightly different way. Then, they will get to practice abstraction using a fill-in-the-blank story in the style of Mad Libs. Your students will change the input for each word using code and create a whole new story using the same template. They will be able to see how using abstraction to group items makes it much easier to switch out code.

New Code Blocks

  • : Hide the dragon with the specified parameter.


  • None


Students will...
  • Apply coding concepts to solve puzzles
  • Use a story template that demonstrates abstraction


  • iPads (with installed Tynker app), computers, or laptops

Warm-Up (5 minutes)

Explain to students that abstraction is the process of making a specific problem more general, so the solution can be repeated for multiple problems. Next, ask them to pair up and discuss a programming example of when they can use abstraction (Example: creating a program that uses a fill-in-the-blank story, creating a program that the user can use to navigate the player through multiple mazes, etc.).

Activities (30 minutes)

Facilitate as students complete all Dragon Scrolls modules:
Dragon Scrolls
  • Inform students that this lesson has 7 levels that they need to complete.
  • To solve levels 1-4, students need to apply coding concepts and code blocks from previous lessons to navigate the dragon up and down the platforms so it can reach the treasure.
  • If students are struggling with the "repeat" code block, ask them to first try solving the level without the "repeat" code block, identify the pattern, then use put the repeated pattern inside the "repeat" code block. And remember, not every block needs to go inside the “repeat.”
  • In level 5, students will explore two story templates and observe how abstraction is used in coding. If students finish early, ask them to share their story with a neighbor.
  • Level 6 is a DIY (do-it-yourself) project, where students can use the templates and provided code blocks to create various stories. Inform students that this is an open ended project. What silly stories will your students create?
  • To solve level 7, students need to use the code blocks to hide all dragons except the one in the green box. Add commands that hide the other kinds of dragons, based on their color, wing type, and tail type.

Extended Activities (10 minutes)

Ask your students…
  • What is abstraction? (Answer: A way of making a specific problem more general, so the solution can be repeated for a wide range of problems)
  • How did you apply abstraction in today's coding activity? (Answers will vary)

U.S. Standards

  • CCSS-Math: K.CC.B.5, 2.OA.B.2, MP.1
  • CCSS-ELA: RF.K.4, RF.1.4, RF.2.4, RF.1.4.A, RF.2.4.A, 1.RI.10, 2.RI.10
  • CSTA: 1A-AP-09, 1A-AP-11, 1B-AP-11, 1B-AP-15
  • CS CA: K-2.AP.13, 3-5.AP.10, 3-5.AP.13, 3-5.AP.17
  • ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b

U.K. Standards

Key Stage 1
  • Use logical reasoning to predict the behaviour of simple programs
  • Use technology safely and respectfully, keeping personal information private; identify where to go for help and support when they have concerns about content or contact on the internet or other online technologies
Key Stage 2
  • Design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts.
  • Use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs.
  • Understand computer networks, including the internet; how they can provide multiple services, such as the World Wide Web, and the opportunities they offer for communication and collaboration.
  • Use technology safely, respectfully and responsibly; recognise acceptable/unacceptable behaviour; identify a range of ways to report concerns about content and contact.