1
00:00:00,180 --> 00:00:03,040
And this lesson we will go onto the drone games.

2
00:00:03,090 --> 00:00:04,870
Start the game by clicking on there.

3
00:00:04,890 --> 00:00:09,080
Go ahead and try out the games on your app before you see this video.

4
00:00:09,120 --> 00:00:14,250
Once you finish the game you can use this video to check how I cleared the game or start from level

5
00:00:14,270 --> 00:00:14,590
1

6
00:00:17,970 --> 00:00:18,340
first.

7
00:00:18,350 --> 00:00:25,950
I set the drone to take off then fly forward two tiles to reach the pad once the drone gets to the pad.

8
00:00:25,970 --> 00:00:32,050
I landed on the pad then take off again fly three tiles back to reach the goal.

9
00:00:32,090 --> 00:00:35,690
Now I'll click on press to start to start the process.

10
00:00:35,810 --> 00:00:40,340
You'll see the drone flying to tiles forward then landing on the pad.

11
00:00:40,340 --> 00:00:46,000
The drone will take off from the pad again and head back three tiles to the goal.

12
00:00:46,040 --> 00:00:49,690
That was the process I set for level 1 1.

13
00:00:49,690 --> 00:00:52,020
Now let's go on to Level 2.

14
00:00:52,150 --> 00:00:54,740
This level is also quite easy.

15
00:00:54,760 --> 00:00:58,580
You have to be careful and check on which way the drone is facing.

16
00:00:58,840 --> 00:01:02,530
You can see that the drone is facing the right side of your screen.

17
00:01:02,650 --> 00:01:04,620
That been said to get to the pad.

18
00:01:04,630 --> 00:01:08,070
We need to fly to the left to head to the goal.

19
00:01:08,080 --> 00:01:12,920
We need to fly three tiles to the right as we go through this process.

20
00:01:12,920 --> 00:01:15,840
The drone will be able to fly into the goal.

21
00:01:15,920 --> 00:01:20,370
You can see that we got three stars to get three stars.

22
00:01:20,370 --> 00:01:25,630
You need to limit the number of blocks used and the accuracy of the motions.

23
00:01:25,890 --> 00:01:31,440
You should try to avoid rotating the drone to cut back on the number of blocks.

24
00:01:31,440 --> 00:01:34,110
Now let's go on to Level Three.

25
00:01:34,170 --> 00:01:36,260
This is how I set the blocks.

26
00:01:36,270 --> 00:01:38,940
This level is a bit complicated.

27
00:01:38,970 --> 00:01:40,860
You need to avoid the obstacles.

28
00:01:40,860 --> 00:01:43,760
Grab the gun and destroy the bomb to get to the goal.

29
00:01:44,650 --> 00:01:52,900
First we take off fly up and move forward to the tile where the gun is fly down and equipped the gun.

30
00:01:52,900 --> 00:01:58,720
We rotate the drone to face the bomb and fly a tile left to be in front of the bomb and fire.

31
00:01:59,680 --> 00:02:05,050
Once the path to the goal is cleared we fly to the goal without rotating here.

32
00:02:05,170 --> 00:02:12,670
We successfully received three stars in level four we might need to use the function and limit the number

33
00:02:12,670 --> 00:02:15,240
of blocks to receive three stars.

34
00:02:15,280 --> 00:02:17,250
This is how I set the box.

35
00:02:17,290 --> 00:02:21,430
You might want to pause for a moment to check how the blocks are set.

36
00:02:21,430 --> 00:02:28,900
In my case I created a function which lets the drone fly in a zigzag pattern this pattern will be repeated

37
00:02:28,900 --> 00:02:30,620
twice.

38
00:02:30,630 --> 00:02:33,030
Let's see how the drone flies.

39
00:02:33,030 --> 00:02:40,480
First the drone will take off fly a tile forward and then move to the right and land on the pad.

40
00:02:40,500 --> 00:02:46,810
Now it will take off no fly two times left then a tile forward to land on the next pad.

41
00:02:46,830 --> 00:02:50,280
Again it will take off and fly a tile to the right.

42
00:02:50,280 --> 00:02:55,890
This is the pattern that I made and this will be repeated again so that the drone goes on landing on

43
00:02:55,890 --> 00:02:58,540
all the pad after completing the pattern.

44
00:02:58,620 --> 00:03:00,330
The drone will fly into the goal.

45
00:03:00,330 --> 00:03:03,130
This pattern is not the only way to get to the goal.

46
00:03:03,210 --> 00:03:06,640
So you might want to think of other variations of the patterns.

47
00:03:06,690 --> 00:03:11,460
Let's go on to the last level five and this level we need to fly.

48
00:03:11,460 --> 00:03:14,450
Avoiding the obstacles by checking the route.

49
00:03:14,490 --> 00:03:18,080
You might notice that we could be making a pattern again.

50
00:03:18,180 --> 00:03:20,400
This is how I set the blocks.

51
00:03:20,550 --> 00:03:25,320
You can pause the video to check out how the blocks work in this level.

52
00:03:25,320 --> 00:03:28,680
I also created a function which will be repeated twice.

53
00:03:28,680 --> 00:03:31,990
First the drone takes off and flies forward.

54
00:03:32,280 --> 00:03:36,200
Then it flies right where the pads are next.

55
00:03:36,240 --> 00:03:39,690
The drone will fly back to tiles and land on the pad.

56
00:03:39,690 --> 00:03:47,650
Again it takes off to the next pad flying four tiles forward then flies back to the middle of the path.

57
00:03:47,650 --> 00:03:53,860
The drone will repeat the pattern and land on the next two paths by creating a pattern.

58
00:03:53,890 --> 00:03:57,270
You can set it as a function and repeat it.

59
00:03:57,280 --> 00:03:59,040
This will limit the numbers of blocks.

60
00:03:59,050 --> 00:03:59,890
You need to use

61
00:04:03,260 --> 00:04:10,200
we just went through all the levels my blocks may have been a bit different from yours but it's OK.

62
00:04:10,210 --> 00:04:12,500
There is no single correct answer.

63
00:04:12,560 --> 00:04:14,870
It's great to see the variety.

64
00:04:15,350 --> 00:04:21,470
By planning these games I hope you got an idea on how the drones will be flying as we went through the

65
00:04:21,470 --> 00:04:22,950
contents on the app.

66
00:04:23,030 --> 00:04:28,640
We'll leave that app for now and go onto programming the drones with python from our next lesson.
