So in this video we're going to build the little rocket landing application.
So I hope you tried to do the challenge from the last lecture.
So we have this string here.
And it's a bunch of line breaks and a bunch of slashes, backwards slashes and forward slashes.
And now what we want to do is we want to land our rocket.
Therefore we want to display this each time.
So we're going to write out this string rocket in here.
Now this by itself we can run and we will see.
It will just do this okay.
So it will show the rocket each time.
Now what we can do is we can use console dot clear, which will clear our console from everything that
we had entered before.
So we'll get rid of all the other text that we had inside of our rocket.
You can see maybe there's an empty space too much or whatever, but you see, the counter is two, one
and so forth.
So how can we now make sure that the rocket is actually landing?
Therefore, we can use our rocket.
We can add an empty space to our rocket.
So I'm going to say that rocket should be backslash n.
And you can also make sure with backslash R on top plus whatever rocket was before.
So this will now just add an empty line at the top for each iteration of our execution.
So let's look at this.
And we see our rocket is slowly descending slowly landing.
And that's it.
There we are.
So that's our little project.
And we could say something like at the end here CW the rocket has landed.
Okay, let's run this again and we will see how our rocket is landing.
Step by step.
We could change maybe the appearance of the rocket to be a happy rocket or whatever.
So counter is zero and it says the rocket has landed.
Woohoo!
Everybody at space is super happy.
Another successful landing.
Okay, so that's it for this project.
I hope you enjoyed it.
I'm not sure whether it was easy enough to get this part here, but with a little bit of tinkering and
thinking about it, you hopefully found the solution.
So see you in the next video.