Lesson 6 Relay Race
userhead
ShadowNie 2021-02-05 08:47:21

6-1. Project Introduction

The relay team is composed of Maqueen Mechanic loader and Maqueen Mechanic forklift. The two robot cars are controlled by one GamePad and will cooperate to complete the relay race. Press button A, GamePad controls Maqueen loader; press button B, GamePad controls Maqueen forklift.

Game Rules:

① The relay race is divided into two stages, and you can arrange the starting position according to different tasks in the schedule. Stage 1: A-B (task: transport all three objects from point A to point B), stage 2: B-C (task: transport the three objects from point B to point C and overlap these objects in order of 1, 2, and 3). After completing the tasks of the two stages, it will be considered successful only when the two Maqueen cars have reached point C (point A is the starting point, point B is the relay point, and point C is the endpoint).

② During the game, the players cannot touch Maqueen Car.

③ The one who takes the shortest time to complete all tasks wins

projectImage

Note: Only when the first car transports all objects to the designated area B, can the second car start.

6-2. Program Link and Screenshot

GamePad Remote Control End – Program Link:

https://makecode.microbit.org/_eaydWsAapaHY

projectImage

Maqueen Mechanic Loader Receiving End – Program Link:

https://makecode.microbit.org/_4Di8h3R555rw

projectImage

Maqueen Mechanic Forklift Receiving End – Program Link:

https://makecode.microbit.org/_CkVduYFjHhjX

projectImage

6-3. Effect Display

In this project, we put the loader at point A to finish the first part, and forklift at point B to finish the second part. As shown below:

projectImage
License
1
All Rights
Reserved
[[i.text]]
licensBg
0
0
COMMENTS ([[commentTotla]])
[[c.user_name]] [[c.create_time]]
[[c.parent_comment.count]]