Hey guys, welcome to Day 3.
Today you can learn all about conditional statements,
if else, else if, logical operators, code blocks, scope,
global and local name spacing and a whole lot more.
And by the end of the day you will know enough to be able to build this awesome
Choose your own adventure game.
So this is what it looks like when it loads and our mission is to find the
treasure. So it tells us your at a crossroad, where do you want to go?
Left or right? Let's say I want to go left. You come to a Lake,
there's an Island in the middle of the Lake. Type
wait to wait for a boat, type swim to swim across. I'm going to wait for a boat.
You arrive at the Island unharmed, there's a house with three doors, one red,
one yellow and one blue. Which color do you choose?
Let's choose red. And unfortunately, it's a room full of fire. Game over.
So this game lets the user make decisions and depending on what they've chosen,
it continues the game storyline. If you want to have a go at this game,
you can head over to treasure-island
-end.appbrewery.repl.run and have a play around with the game.
And once you're ready,
head over to the next lesson and we're going to start picking up the skills
that's going to be required in order to build this game.
So I'll see you on the next lesson.