     oldpad=pad;
     drawBall();
 
-    if(brickCount==60)
+    if(brickCount == ROWS * COLUMNS)
     {
       level++;
       newLevel();


Arduboy arduboy;

int dx = -1;        //Initial movement of ball
int dy = -1;        //Initial movement of ball
int xb;           //Balls starting possition

    }

    //Bounce off Bricks
    for (byte row = 0; row < ROWS; row++)
    {
      for (byte column = 0; column < COLUMNS; column++)
      {
        if (!isHit[row][column])
        {
