 
   // here we set the framerate to 15, we do not need to run at
   // default 60 and it saves us battery life
-  arduboy.setFrameRate(15);
+  arduboy.setFrameRate(10);
 
  StartGame(); 
 }


Player p1;
Coords foodLocation;

int maxX = 127;
int minX = 0;
int maxY = 63;
int minY = 0;

int score = 0;
int arrayPosition = 0;

  // first we clear our screen to black
  arduboy.clear();

  DrawFrame();

  CollisionDetection();

  if(arduboy.pressed(RIGHT_BUTTON)) {
