1
00:00:00,450 --> 00:00:04,920
Now before we run the code let's go back and understand how the system will work.

2
00:00:04,920 --> 00:00:06,840
Here we have the smartphone.

3
00:00:06,870 --> 00:00:13,740
Once we shake the phone shake dot J.S. will catch the event and access the backend with the API.

4
00:00:13,800 --> 00:00:20,090
The smartphone will access using Wi-Fi and through the router to access the server running on the computer

5
00:00:20,100 --> 00:00:23,070
with API with the IP address.

6
00:00:23,070 --> 00:00:30,780
One ninety two point one sixty eight point one zero one or two the computer will be using a different

7
00:00:30,780 --> 00:00:34,030
network that will be connecting the computer and the drone.

8
00:00:34,170 --> 00:00:38,530
The command will be sent through this network to enable the drone to fly accordingly.

9
00:00:38,550 --> 00:00:40,710
So that was the image of the network system.

10
00:00:40,710 --> 00:00:44,070
Now let's go on to check how we actually made it.

11
00:00:44,160 --> 00:00:50,500
Here you will see the computer which is connected to the drone on the left side through Wi-Fi.

12
00:00:50,940 --> 00:00:57,340
Here you can see the cable connected to my computer since I'm using a fairly recent model.

13
00:00:57,450 --> 00:01:05,220
I'll be connecting my computer with a new SBC adapter which has a USB port the USB cable will be connected

14
00:01:05,220 --> 00:01:09,250
to the network to cable as you follow the cable.

15
00:01:09,250 --> 00:01:15,190
The cable is connected to my Wi-Fi router the black cable coming out of the router will be connected

16
00:01:15,190 --> 00:01:17,010
to my landline.

17
00:01:17,020 --> 00:01:22,050
Over here the phone is currently connected to the Wi-Fi router through Wi-Fi.

18
00:01:22,360 --> 00:01:32,620
You'll see that IP address one ninety to 168 0 1 6 on the screen which is the IP address for the Mac.

19
00:01:32,630 --> 00:01:37,040
Now we see the screen on the computer which will also have the same IP address.

20
00:01:38,030 --> 00:01:43,020
You can see that the smartphone is accessing the server on the computer.

21
00:01:43,130 --> 00:01:46,500
Now we've completed the settings for the shaking.

22
00:01:46,700 --> 00:01:49,010
Now let's try out the game.

23
00:01:49,010 --> 00:01:52,160
You'll see my smartphone screen on the left side.

24
00:01:52,160 --> 00:01:58,860
Once you get to the top page click on the shake game button on the bottom of the screen next.

25
00:01:58,900 --> 00:02:02,300
As we enter the shake game we will choose of course.

26
00:02:02,530 --> 00:02:08,920
Let's say we choose course a then click on the Start button to start your game.

27
00:02:08,920 --> 00:02:12,730
These are some of the videos of me and my family playing the game.

28
00:02:12,730 --> 00:02:16,390
You can see my kids having a lot of fun shaking the fun.

29
00:02:16,540 --> 00:02:24,080
If you have kids I highly recommend them to join the fun but you might just saw my son starting to cry

30
00:02:24,110 --> 00:02:25,430
and leaving the game.

31
00:02:25,430 --> 00:02:30,380
He and his sister got a little too excited with the game and the phone hit his face.

32
00:02:30,380 --> 00:02:32,080
Accidents do happen.

33
00:02:32,110 --> 00:02:34,250
So be sure that no one gets hurt.

34
00:02:34,820 --> 00:02:36,290
And that same for your phone.

35
00:02:36,440 --> 00:02:42,650
As I said earlier going through the entire course I've achieved many knowledges is so you can customize

36
00:02:42,650 --> 00:02:44,690
the codes help ever you want.

37
00:02:44,690 --> 00:02:47,020
The chances are immense.

38
00:02:47,030 --> 00:02:50,150
So I hope you have a lot of fun coding your drum.
