Skip to main content

KS3 Lesson Plan


This game was developed with engineers from the LTC to showcase the importance of road safety. Using Make Code, players will manage road signs responding to different events, including flooding and animals on the road. They will also have the chance to programme an in-game agent to respond to the signs as if it were a car.

Learning Objectives

1. Use MakeCode to program the road signs and in-game agent in response to different scenarios

2. Gain an understanding of the different kinds of jobs involved to keep a busy road safe

3. Gain a basic understanding of how coding can change game play elements

Guiding Ideas and Questions

1. Why is it important that road signs respond quickly to changes on roads?

2. What job role out the ones showcased would you most like and why?

Performance expectations

In the game, players will be expected to use MakeCode to successfully program the road signs and in-game agent. They will also be learning about the variety of job roles involved, along with facts about other road schemes.

Lesson Structure

To help you plan your lesson structure, watch this video and be taken step by step through the game. The below notes provide additional guidance.

Part 1 –

Before they start please explain what Highways England does -

'Highways England manage and improve England's motorways and major A roads, helping our customers have safe, smoother and more reliable journeys. We're the government company which plans, designs, build, operates and maintains England's motorways and major A roads, known as the strategic road network (SRN). Make up of 4,300 miles of motorways and major A roads which are at the core of our national transport system.'

Students will start in the Highways England offices Here they can interact with the NPCs (non-player characters) who will either give them bits of information or say generic greetings.

Allow them to explore for 5 minutes and ask them to finish by speaking with Adam located near the blue doorway.

Next, they will make their way through the doorway. They are not to click on anything, or teleport to the scheme, until the next part.

Part 2 –

Get the students to click on the NPC stood in the hallway which says ‘Road Signs Game’. They will be given two options for the next part. They must click the button that says Key Stage 2.

They will then be teleported to the virtual road scheme. Here they should interact with the first NPC Selina who will give them more instructions.

Starting in the portacabin next to NPC Selina, allow the students 10 minutes to explore the scheme talking to each of the NPCs who will provide facts and job information.

At the end of the 10 minutes, get them to stand where they can easily see the speed signs on the gantry.

Part 3 –

Now the student will start the coding part of the lesson which will be via following step by step instruction provided within the above video – see from 3 minutes and 20 seconds.

The result should be that they use MakeCode to programme the road signs and the MakeCode Agent to respond to different scenarios on the road; one lane closed due to a flood, all lanes closed due to horses on the road, and all lanes clear. To summarise:

  • The first task is to program the signs to respond to a lane closure, the left-hand sign will say lane closed, and the other two signs will have a speed limit of 40mph.
  • The second task is to get the signs to respond to all lanes open and clear, so each sign will have a speed limit of 70mph.
  • The third task is to get the signs to show all lanes closed due to animals on the road.
  • Finally, they will also get a chance to programme an in-game agent to respond to the signs as if it were a car.

To open MakeCode they can either press the C key, or type /code into the chat. Click here to see what the final code should look like.

Allow 25 to 30 minutes to complete the task. If students complete this faster get them to start the coding part again.