     }
 
     //Bounce off right side
-    if (xb >= width - 2)
-    {
-      xb = width - 4;
+    if (xb >= WIDTH - 2)
+    {
+      xb = WIDTH - 4;
       dx = -dx;
       arduboy.audio.tone(1, 523, 250);
     }

void movePaddle()
{
  //Move right
  if(xPaddle < width - 12)
  {
    if (arduboy.pressed(RIGHT_BUTTON))
    {

#include <EEPROM.h>
#include "breakout_bitmaps.h"

Arduboy arduboy;

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