public static void main(String[] args) throws Exception {
    robot = new Robot();

    inicioPartida = true;

    robot.delay(2000);
    movimientoInicial();

    robot.delay(30000);

    while (true) {
      if (!estaMuerto()) { // Si está vivo
        autoA();
      } else {
        robot.delay(20000);
        movimientoInicial();
        spaceBar();
        robot.delay(30000);
      }
    }
  }