max7219 pong

i got this pong game of the internet it has one paddle that moves side to side using a pot and when you hit it. it will bounce of the walls and will come back it will get faster and faster it sends this data to a max7219 but it says
error: ‘paddle1Val’ was not declared in this scope
there is the code below

#include <LedControl.h>

LedControl myMatrix = LedControl(2, 4, 3, 1);

int column = 1, row = random(8)+1;
int directionX = 1, directionY = 1;
int paddle1 = 5, paddle1val;
int speed = 300;
int counter = 0, mult = 10;

void setup()
{
  myMatrix.shutdown(0, false);
  myMatrix.setIntensity(0, 8);
  myMatrix.clearDisplay(0);
  randomSeed(analogRead(0));
}

void loop()
{
  paddle1Val = analogRead(paddle1);
  paddle1Val = map(paddle1Val, 200, 1024, 1,6);
  column += directionX;
  row += directionY;
  if (column == 6 && directionX == 1 && (paddle1Val == row || paddle1Val+1 == row || paddle1Val+2 == row)) {directionX = -1;}
  if (column == 0 && directionX == -1 ) {directionX = 1;}
  if (row == 7 && directionY == 1 ) {directionY = -1;}
  if (row == 0 && directionY == -1 ) {directionY = 1;}
  if (column == 7) { oops();}
  myMatrix.clearDisplay(0);
  myMatrix.setLed(0, column, row, HIGH);
  myMatrix.setLed(0, 7, paddle1Val, HIGH);
  myMatrix.setLed(0, 7, paddle1Val+1, HIGH);
  myMatrix.setLed(0, 7, paddle1Val+2, HIGH);
  if (!(counter % mult)) {speed -= 5; mult * mult;}
  delay(speed);
  counter++;
}
void oops() {
  for (int x=0; x<3; x++){
    myMatrix.clearDisplay(0);
    delay(250);
    for (int y=0; y<8; y++) {
      myMatrix.setRow(0, y, 255);
    }
    delay(250);
  }
  counter=0;
  speed=300;
  column=1;
  row = random(8)+1;
}

The variable is declared as "paddle1val" and referenced as "paddle1Val", so for the compiler these are 2 distinct variables. Variables names are case sensitive.

thanks