Hello and welcome to the brick breaker game.
And in this section, we are going to be covering how to build out this game from scratch.
The objective of is to move your paddle, move the ball and destroy all of the bricks that are visible
on the screen.
This is all JavaScript, all vanilla JavaScript.
There's no libraries, there's no tricks, no hidden things, just pure JavaScript.
And interacting with the dorms is also great practice to get more familiar with what you can do in JavaScript
when you connect to it alongside the dawn.
The game is fully dynamic and the objective is to destroy all the bricks on the screen.
You can move your paddle around, you hit the ball and depending on where you the ball lands on the
paddle, you can see that it's slightly angles the direction that the ball is going.
So that enhances the gameplay.
And once you clear out all of the bricks, then you get presented with a new set of bricks.
You also have a default amount of lives.
So once you run through all of the lives, then the game is over and the game ends.
So in this case, we just saw that I lost a life and I've got two bricks left.
Source code is also included to give you an opportunity to try the game, play out for yourself.
And I do suggest that you do try the code in your own editor and get familiar with what it does and
how it works as well.
All of the values that we're using are fully dynamic.
So the code is flexible in how it's being presented as well as you can adjust the number of lives you
have, the number of bricks that are on the screen, as well as the speed, the direction and all of
the variables that are associated with the gameplay.
You have any questions at any time?
I'm always happy to help you out to within the Q&A section.
Please post your questions, comments and any suggestions that you might have in order to update and
improve the course.
I'm always happy to hear from you.
So let's get started creating this game.