Wizard Ben (Feathers Competition 2026) – Story and Solution Instructions:
Wizard Ben is exploring an ancient cave. A diamond lies in each row, and a chest waits by the right wall. He should pick up only the green diamonds and put them into the chest in the same row.
Write a program that will guide the wizard through the cave and help him put away the green diamonds.
⚠️ This game is designed for larger screens. Please play on a desktop computer or rotate your tablet to landscape mode.
Instructions for solving the task: Wizard Ben
Using sensors, you will need to carefully select the diamonds. Once you are on the right diamond, you can move to the chest on the right side. Are all chests at the same distance? If it makes it easier, first make a program that puts away a single diamond and only later for all diamonds. At the same time, try using the sensor when picking up a single diamond as well. There are several tests for this task, so using conditional statements is very important.
This block will also help you:

Look at the solution

In the solution, a special ‘go down’ block is used, which performs a turn and move for us. Of course, you could also do everything with turns, just as we do when walking from left to right.
Would you like more tasks?
The task Wizard Ben (Feathers Competition 2026) is categorized in the Feathers competition for 4th to 6th grade, advanced level. It was the sixth task in sequence in the year 2026. It is an advanced level, where students already well understand how to pick up and drop an item in the right place. They are also aware that they can use sensors to detect surroundings. The task connects all knowledge into a single story.
