Skip to main content

Computer Science Level 1 - Python

Unit 9 - Developing Algorithms

Introduction

In the Dynamic Castle Crasher Challenge the VR Robot will need to clear every castle off of the Dynamic Castle Crasher Playground. This Playground comes with a twist! Every time the Dynamic Castle Crasher Playground is reset, the layout of the castles will change. In this challenge, you will need to create an algorithm that instructs the VR Robot to complete the challenge for all possible Dynamic Castle Crasher Playground layouts.

image of the VR Robot on the Dynamic Castle Crasher Playground

The Dynamic Castle Crasher Problem

In previous Units, you crashed castles and navigated mazes on static Playgrounds. However, in a dynamic Playground, like the Dynamic Castle Crasher, the Playground changes each time it is reloaded, so the castles or maze walls are continually in new and unknown positions. Luckily, we can apply what we've learned about the sensors on the VR Robot and coding strategies to help us solve the Dynamic Castle Crasher problem successfully. You will learn about how to do this throughout this Unit, beginning with what an algorithm is, in the next Lesson.