Breakout Game Bugs

Hello,

I am trying to create a breakout/brick breaker game for a class. I have come across a bug that is greatly affecting my game. When I load the following code, I do not get the expected output of a few rows and columns of my sprite. Instead, my sprite is becoming inflated for some reason. Any clue why this is happening and how to fix it? I have cleared my browser cache and also tried this on different computers. If there is an obvious thing I am missing, that is fine too!

image

1 Like