Dragon Spells

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

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.


Students who complete Space Cadet can advance to Dragon Spells, which is a faster-paced introduction that explains even more coding concepts. Students learn about new kinds of loops, loop nesting, decomposition, abstraction, functions, and variables. Dragon Spells can be used online at tynker.com or on an iPad using the Tynker app.

In Dragon Spells, students train a dragon to collect treasure. Students review the basics such as counting loops and sequencing in the initial lessons, and then they learn all-new coding concepts. They learn how to solve hard problems using decomposition and abstraction with real world examples. They also learn to use input and output in their programs, making their projects more interactive. Students even use functions to organize and reuse sections of code. The course also includes open-ended DIY projects where students apply all the concepts they have learned and can express their own creativity with code. By the end of this course, students can write simple algorithms using loops, conditionals, functions, and variables and know how to debug their code.

Dragon Spells maps directly to the elementary curriculum in Everyone Can Code program from Apple. Educators can download Apple Education’s free book Getting Started with Code 2 which provides additional guidance on how this course can be taught using an iPad.

Topics Covered

  • Types of loops
  • Decomposition
  • Abstraction
  • Functions
  • Nested loops
  • Input and Output
  • User Interface

What Students Learn

  • Solve coding puzzles using a variety of loop types
  • Learn about decomposition and abstraction
  • Define and use functions in programs
  • Handle different situations using conditional statements
  • Use variables, input and output in your programs
  • A quick introduction to building a user interface

Technical Requirements

* Online courses require a modern desktop computer, laptop computer, Chromebook, or Netbook with Internet access and a Chrome (29+), Firefox (30+), Safari (7+), or Edge (20+) browser. No downloads required.
* Tablet courses require an iPad (iOS 10+) with Tynker or Tynker Junior app installed and Internet access

1. Dragon Eggs
8 activities
Choose a dragon, then build algorithms to guide your dragon to the treasure by sequencing code blocks.
2. Blast Through
6 activities
The code is buggy! Can you find the error and fix it to get your dragon to the treasure?
3. Déjà Vu
6 activities
Try to identify a repeating pattern, then shorten your algorithm by putting that code in a loop!
4. Twisted Trees
6 activities
As the path to the treasure gets complex, think about how to decompose each puzzle into smaller tasks.
5. Dragon Scrolls
7 activities
Use the same abstract template to create two very different stories, then design a game that demonstrates abstraction.
6. Ancient Spells
6 activities
Group similar tasks that you can reuse later into functions. You can call these functions repeatedly.
7. Catch Me If You Can
6 activities
Use conditional statements to make your code more flexible. Catch the moving fireflies by checking whether a condition is true, then making a decision about what to do!
8. The Long Road
8 activities
While loops allow you to perform an action as long as a condition is true, and nested loops make it easy to deal with actions that contain other repeating actions.
9. Gem Collector
8 activities
Use variables to count how many gems you've collected, then program a quiz that takes input from the user and gives an output in response!
10. Dragon Maker
6 activities
Build your own game to design dragons! You'll make design and UI choices to make your game fun and easy to use.