1
00:00:00,450 --> 00:00:05,550
So this section comes to you with another game, and this game came to me, the idea came to me, I

2
00:00:05,550 --> 00:00:10,650
was watching my kids play one of the games on their tablets and I said, hey, this is a great idea

3
00:00:10,650 --> 00:00:12,600
for a course, for a section, of course.

4
00:00:12,750 --> 00:00:18,600
And so I've recreated some of the functionality of that game in a simplified format using JavaScript.

5
00:00:18,750 --> 00:00:24,420
So this is just plain JavaScript, manipulating elements and all done via JavaScript and of course,

6
00:00:24,420 --> 00:00:30,460
collision detection and request animation frame and a lot of fun things that you can find in JavaScript.

7
00:00:30,630 --> 00:00:36,180
So let me show you and this one is definitely a lot easier to show than to explain.

8
00:00:36,330 --> 00:00:42,150
So this is a keyboard based game, and the objective is not to hit the obstacles, to move your little

9
00:00:42,150 --> 00:00:44,760
birdie guy through the obstacles.

10
00:00:44,760 --> 00:00:47,100
And there's a little spot that you can always go through.

11
00:00:47,250 --> 00:00:49,260
There's a constant drag on the way down.

12
00:00:49,380 --> 00:00:53,920
You can adjust how many obstacles you have as well as the speed of the bird.

13
00:00:54,060 --> 00:00:58,500
So all of this stuff is generated and can be done dynamically with JavaScript.

14
00:00:58,510 --> 00:01:02,190
So you could tweak and adjust the functionality and the play functionality.

15
00:01:02,340 --> 00:01:08,880
So you until you actually hit one of the obstacles, that's when the game is over and you get your final

16
00:01:08,880 --> 00:01:10,660
score and then of course, you can start again.

17
00:01:10,920 --> 00:01:12,000
So do try this one out.

18
00:01:12,030 --> 00:01:12,900
This one's a fun one.

19
00:01:13,110 --> 00:01:13,890
I hope you enjoy it.

20
00:01:14,220 --> 00:01:14,790
Thanks again.
