1
00:00:00,060 --> 00:00:02,520
Hey guys, welcome to Day 3.

2
00:00:02,910 --> 00:00:05,820
Today you can learn all about conditional statements,

3
00:00:05,910 --> 00:00:10,890
if else, else if, logical operators, code blocks, scope,

4
00:00:11,190 --> 00:00:14,520
global and local name spacing and a whole lot more.

5
00:00:15,180 --> 00:00:20,180
And by the end of the day you will know enough to be able to build this awesome

6
00:00:20,250 --> 00:00:21,870
Choose your own adventure game.

7
00:00:22,530 --> 00:00:27,530
So this is what it looks like when it loads and our mission is to find the

8
00:00:28,200 --> 00:00:31,770
treasure. So it tells us your at a crossroad, where do you want to go?

9
00:00:31,800 --> 00:00:35,910
Left or right? Let's say I want to go left. You come to a Lake,

10
00:00:35,940 --> 00:00:37,920
there's an Island in the middle of the Lake. Type

11
00:00:37,920 --> 00:00:42,870
wait to wait for a boat, type swim to swim across. I'm going to wait for a boat.

12
00:00:43,980 --> 00:00:47,760
You arrive at the Island unharmed, there's a house with three doors, one red,

13
00:00:47,790 --> 00:00:50,580
one yellow and one blue. Which color do you choose?

14
00:00:50,760 --> 00:00:55,760
Let's choose red. And unfortunately, it's a room full of fire. Game over.

15
00:00:57,090 --> 00:01:01,170
So this game lets the user make decisions and depending on what they've chosen,

16
00:01:01,230 --> 00:01:05,489
it continues the game storyline. If you want to have a go at this game,

17
00:01:05,730 --> 00:01:07,560
you can head over to treasure-island

18
00:01:07,620 --> 00:01:12,620
-end.appbrewery.repl.run and have a play around with the game.

19
00:01:13,050 --> 00:01:14,040
And once you're ready,

20
00:01:14,070 --> 00:01:17,160
head over to the next lesson and we're going to start picking up the skills

21
00:01:17,400 --> 00:01:19,830
that's going to be required in order to build this game.

22
00:01:20,430 --> 00:01:22,230
So I'll see you on the next lesson.

