Skip to main content

Compass is offline while we prepare our new tools

Compass is offline while we prepare our new tools

Compass is now offline. Read more

Discover what this means
Supported by Raspberry Pi

Compass coding

Use coding skills and compass directions to help a ScoutBot get to camp.

Back to Activities

You’ll need

  • Access to a computer
Notes and handout (Compass coding)
PDF – 1.1MB

Before you begin

  • If your meeting place has internet: run Scratch online by typing ‘rpf.io/compass’ into the address bar of your internet browser.
  • If your meeting place doesn’t have internet access, don’t worry. You can download the Scratch desktop application from here, there’s a Scratch guide here too. 
  • Familiarise yourself with Scratch and how to programme the ScoutBot using the ‘Notes and handout’ pack.
  • When you’re ready to run the activity, open Scratch. Open the project and enter full-screen mode.
  • Print out copies of the handouts from the ‘Notes and handout’ pack for the group.

Give clear instructions

  1. Everyone should think about the way we tell computers what they should do. We have to give them very clear instructions. Why might this be important? (Computers will do exactly what you tell them to, even if you get it wrong.) What could be the problem if your instructions are unclear?
  2. Everyone should discuss the ways you can give instructions when navigating. We use a compass, with four directions (North, East, South, West). How can giving compass directions be the clearest way of giving instructions?
  3. Everyone should watch a short demonstration of Scratch. Show how to move the ScoutBot from the start to the camp by writing compass directions in the dialogue box.
  4. In the language of computers, the compass directions are the code for instructing the computer. If the code is wrong and does not get the ScoutBot to the camp, we say there is a ‘bug’ in the code. To resolve the issue, the code needs to be ‘debugged’.

Have a go

  1. Everyone should have a go at using Scratch. Work in pairs or small teams to create routes for each other to solve. Use the instruction sheet as a guide.
  2. Create more challenging routes by dragging in rocks to create obstacles.

Reflection

This activity helped you to develop your programming skills. This could help you to understand how computers, tablets and smartphones work and what they do. Why do you think it could be useful to understand computers? What kind of jobs involve working with computer programming?

This activity was also about solving problems, just as computer programmers do. How did you find a bug in your code? How did you correct, or debug, the code? Was it better to choose a short route with fewer instructions or a really long route? Was it possible to find a bug before pressing 'Start'?

Safety

All activities must be safely managed. You must complete a thorough risk assessment and take appropriate steps to reduce risk. Use the safety checklist to help you plan and risk assess your activity. Always get approval for the activity, and have suitable supervision and an InTouch process.

Online safety

Supervise young people when they’re online and give them advice about staying safe. Take a look at our online safety or bullying guidance. The NSPCC offers more advice and guidance, too. If you want to know more about specific social networks and games, Childnet has information and safety tips for apps. You can also report anything that’s worried you online to the Child Exploitation and Online Protection CommandAs always, if you’ve got concerns about a young person’s welfare, including their online experiences, follow the Yellow Card to make a report.

To simplify the activity, keep the ScoutBot and camp close together. To make it more challenging, drag in rocks to act as obstacles.

There are different accessibility tools that disabled young people could use, such as screen readers, special mice, changing screen colours or text size.

All Scout activities should be inclusive and accessible.

Young people could create 'debugging' challenges for each other to solve, as part of the Navigator Staged Activity Badge.

Showcase your tech projects with other creators in the UK and across the world! Check out the Coolest Projects webpages to take part for free from February, or join the celebratory livestream with announcement of the judges’ favourite projects in June. We’d love to see Scouts of all ages involved so please mention you’re a Scout when you register!