     xb += i;
     yb += j;
     if(yb == 0 || yb == 90) j *= -1;
-    if(( xb == 2) && abs(yb-(a/6)/8) <= 7) { 
+    if(( xb == 2) && abs(yb-(a/6)/8) <= 7) {
       i *= -1;
       speed -= 4;
-    }else if(( xb == 105) && abs(yb-(b/6)/8) <= 7) { 
+    }else if(( xb == 105) && abs(yb-(b/6)/8) <= 7) {
       i *= -1;
       speed -= 4;
     } else if(xb == 110) {

int ponto1 = 0;
int ponto2 = 0;

void setup() {
  TV.begin(NTSC,120,96);
  randomSeed(analogRead(0));
  TV.select_font(font4x6);

  
  }
   TV.select_font(font6x8);

  
  menu();

}

boolean pausado = false;

int speed = 25;
void loop() {
    
    if(pausado) {
      if (digitalRead(2) == HIGH) { 
        pausado = false;
        delay(100);
      }
      return;
    }
    
    if (digitalRead(2) == HIGH) pausado = true;
    
    if (digitalRead(3) == HIGH) {
      xb = 60;
      yb = 60;
      xj1 = 0;
      xj2 = 0;
      i = 1;
      j = 1;
      ponto2 = 0;
      ponto1 = 0;
      speed = 25;
      menu();
      return;
    }
    
    int a = analogRead(1) + analogRead(1) + analogRead(1);
    delay(1);
    a += analogRead(1) + analogRead(1) + analogRead(1);
