AI Algorithm Speedway

A Kai XR Adventure

AI Algorithm lesson
Standards
NGSS 3-5-ETS1-1: Generate and compare multiple possible solutions to a problem based on how well each is likely to meet the criteria and constraints of the problem.
Skills
Computational Thinking
Applied Science
Engineering Design
‍Career Discovery

Introduction

Uncover how smart vehicles "see" the world, take a virtual ride inside one, and design your very own algorithms to guide their moves. Are you ready to program your car to think, react, and drive like a pro? Let's hit the Algorithm Speedway!

Read

algorithm lessonalgorithm lessonalgorithm lessonalgorithm lesson

Before you practice, let's take a virtual field trip to behind the wheels of a self-driving car.

Virtual Field Trip

self-driving car

Self-driving Car

Take a ride inside a self-driving car! In this car, the driver is replaced with screens showing the car's perspective. Sit back and relax as you experience the incredible use of technology.

Click Explore Now.

Makerspace

Makerspace Challenge: Algorithm Speedway

🚗💡Welcome to the Algorithm Adventure Speedway! Today, your task is to program cars to react to what they see in exciting ways.

The cars in the first two lanes are already programmed:

  • In Lane 1, the car heads down the track. If the car meets a dog, then it will drive in a square before coming back.
  • In Lane 2, if the car meets a cat, then it will turn right before coming back.

Now it’s your turn!

In Lane 3, if the car encounters a unicorn, what should it do? Add a Path to program the car.

When you're finished, click the Play button on the top right to view all three cars in action.

Add a Path

Select Asset and click Path. Enter a direction and number to move your car. (e.g. F1, R1)

F: Forward; B: Backward; L: Left; R: Right

Press the ▶️ button to preview your Path.

gif of adding path
In memory of my sunshine, Ky(ra) G. Frazier. Love you to the moon and back.