It's that time, again, another game, and this one is called the plane bomber game.
So the objective here is to move the element that has the plane inside of it using your keyboard.
So it's going to be automatically moving as well as you can adjust the positioning a little bit with
your arrow keys on the keyboard, pressing space, you drop bombs on the target.
The target is the black box and that's going to move.
So whenever you hit it, we're also playing collision detection to check to see if the elements are
overlapping and also scoring when you do hit the target.
So all of this is covered within the section.
How to build this from scratch as well as all of the assets you need in order to run it within your
browser.
Let's check this out.
So when you come into the game, you've got an option to start the game and then you can control the
speed a little bit and as well as the maneuverability of that element.
So this is just an image with a div element that we've got movement on using the keyboard.
So whenever we press the spacebar, we can drop some bombs.
And then if those bombs hit the target, then we score some points.
So that's the objective of this game.
Relatively simple, but it's got some really useful parts to it that you can utilize in other games
as well.