We will go step by step here since this part may get a bit tricky. We will have to deal with a lot of math calculations for our boundaries as well as lots and lots of new variables. Let's start by declaring some variables in our GameView.java file.
Throughout this part, we will be working only in our GameView.java file.