Program: 99111
Project: 99111
Buggy source:
private void init(){
  terrain.setName("String_Node_Str");
  buffy.setName("String_Node_Str");
  terrain.setPosition(-1000,-1000,0);
  Animation buffyAnimation=buffy.getAnimation();
  buffyAnimation.getAnimationClip("String_Node_Str").set(0,30,PlaybackMode.LOOP);
  buffyAnimation.addAnimationClip("String_Node_Str",35,50,PlaybackMode.LOOP);
  buffyAnimation.play("String_Node_Str");
  camera.setPosition(0,-10,9);
  camera.rotate(-10,0,0);
  camera.setRange(2500);
  camera.setSky(skydome("String_Node_Str"));
  buffy.addChild(camera);
  buffy.setScale(0.1f,0.1f,0.1f);
  berserkerDif=tex2D("String_Node_Str");
  buffyDif=buffy.asModel().getMaterial().getBaseTexture();
  vehicle=new Vehicle(buffy);
  SphereCollider buffyCollider=vehicle.getCollider();
  buffyCollider.setRadius(3);
  buffyCollider.translate(0,0.5f,2);
  terrain.attachCollider(buffyCollider);
  float ratio=(float)Screen.getWidth() / Screen.getHeight();
  float scalef=0.2f;
  controller.setScale(scalef,scalef * ratio);
  controller.setActive(false);
  controller.setOnTouchListener(new OnTouchListener(){
    public void onTouch(    Button button,    int action,    float x,    float y){
      if (!isEnd) {
        Vector2 center=button.getCenter();
        float dx=center.x - x;
        float dy=center.y - y;
        Vector2 dir=vec2(dx,dy).getNormalized();
        if (dir.y != 0.0f && !Float.isNaN(dir.y)) {
          vehicle.accelerate(0.03f * dir.y);
        }
        if (dir.x != 0.0f && !Float.isNaN(dir.x)) {
          vehicle.turn(dir.x);
        }
      }
    }
  }
);
  Scene.setMainCamera(camera);
  Vector2[] outside=new Vector2[14];
  outside[0]=new Vector2(514,190);
  outside[1]=new Vector2(791,10);
  outside[2]=new Vector2(800,-172);
  outside[3]=new Vector2(621,-409);
  outside[4]=new Vector2(80,-658);
  outside[5]=new Vector2(-218,-631);
  outside[6]=new Vector2(-569,-427);
  outside[7]=new Vector2(-815,-158);
  outside[8]=new Vector2(-780,95);
  outside[9]=new Vector2(-617,188);
  outside[10]=new Vector2(317,209);
  outside[11]=new Vector2(514,190);
  outside[12]=new Vector2(791,10);
  outside[13]=new Vector2(800,-172);
  Vector2[] inside=new Vector2[20];
  inside[0]=new Vector2(0,0);
  inside[1]=new Vector2(-370,2.7f);
  inside[2]=new Vector2(-504,-2.7f);
  inside[3]=new Vector2(-614,-110);
  inside[4]=new Vector2(-607,-191);
  inside[5]=new Vector2(-551,-288);
  inside[6]=new Vector2(-381,-374);
  inside[7]=new Vector2(-143,-485);
  inside[8]=new Vector2(-89,-483);
  inside[9]=new Vector2(110,-474);
  inside[10]=new Vector2(265,-364);
  inside[11]=new Vector2(512,-290);
  inside[12]=new Vector2(604,-183);
  inside[13]=new Vector2(604,-38);
  inside[14]=new Vector2(554,20);
  inside[15]=new Vector2(435,43);
  inside[16]=new Vector2(278,36);
  inside[17]=new Vector2(0,0);
  inside[18]=new Vector2(-370,2.7f);
  inside[19]=new Vector2(-504,-2.7f);
  trackOutside=CurveCollider.bSplineCurveCollider(0.25f,190,false,outside);
  trackOutside.attachCollider(buffyCollider);
  trackInside=CurveCollider.bSplineCurveCollider(0.25f,190,false,inside);
  trackInside.attachCollider(buffyCollider);
  checkpoint.add(collider(0.99f,0.01f,0,250,100,134,106,140));
  checkpoint.add(collider(0.88f,-0.473f,0,250,100,551,90,140));
  checkpoint.add(collider(0.23f,-0.973f,0,250,100,683,-55,140));
  checkpoint.add(collider(-0.836f,-0.548f,0,250,100,591,-327,140));
  checkpoint.add(collider(-0.956f,-0.293f,0,250,100,68,-574,140));
  checkpoint.add(collider(-0.852f,0.524f,0,250,100,-277,-521,140));
  checkpoint.add(collider(-0.319f,0.948f,0,250,100,-657,-236,140));
  checkpoint.add(collider(0.82f,0.572f,0,250,100,-652,8,140));
  checkpoint.add(collider(0.99f,0.948f,0,250,100,-404,95,140));
  checkpoint.add(collider(0.951f,0.31f,0,250,100,-71,96,140));
  endSprite=sprite("String_Node_Str");
  endSprite.setScale(0.25f,0.25f);
  layer1.addChild(terrain,buffy,trackOutside,trackInside);
  layer2.addChild(controller);
  for (int i=0; i < checkpoint.size(); i++) {
    layer1.addChild(checkpoint.get(i));
  }
  scene.addLayer(layer1);
  scene.addLayer(layer2);
}

Fixed version (ground truth):
private void init(){
  terrain.setName("String_Node_Str");
  buffy.setName("String_Node_Str");
  terrain.setPosition(-1000,-1000,0);
  Animation buffyAnimation=buffy.getAnimation();
  buffyAnimation.getAnimationClip("String_Node_Str").set(0,30,PlaybackMode.LOOP);
  buffyAnimation.addAnimationClip("String_Node_Str",35,50,PlaybackMode.LOOP);
  buffyAnimation.play("String_Node_Str");
  camera.setPosition(0,-10,9);
  camera.rotate(-10,0,0);
  camera.setRange(2500);
  camera.setSky(skydome("String_Node_Str"));
  buffy.addChild(camera);
  buffy.setScale(0.1f,0.1f,0.1f);
  berserkerDif=tex2D("String_Node_Str");
  buffyDif=buffy.asModel().getMaterial().getBaseTexture();
  SphereCollider buffyCollider=collider(3);
  buffyCollider.translate(0,0.5f,2);
  buffy.setCollider(buffyCollider);
  vehicle=new Vehicle(buffy);
  terrain.attachCollider(buffyCollider);
  float ratio=(float)Screen.getWidth() / Screen.getHeight();
  float scalef=0.2f;
  controller.setScale(scalef,scalef * ratio);
  controller.setActive(false);
  controller.setOnTouchListener(new OnTouchListener(){
    public void onTouch(    Button button,    int action,    float x,    float y){
      if (!isEnd) {
        Vector2 center=button.getCenter();
        float dx=center.x - x;
        float dy=center.y - y;
        Vector2 dir=vec2(dx,dy).getNormalized();
        if (dir.y != 0.0f && !Float.isNaN(dir.y)) {
          vehicle.accelerate(0.03f * dir.y);
        }
        if (dir.x != 0.0f && !Float.isNaN(dir.x)) {
          vehicle.turn(dir.x);
        }
      }
    }
  }
);
  Scene.setMainCamera(camera);
  Vector2[] outside=new Vector2[14];
  outside[0]=new Vector2(514,190);
  outside[1]=new Vector2(791,10);
  outside[2]=new Vector2(800,-172);
  outside[3]=new Vector2(621,-409);
  outside[4]=new Vector2(80,-658);
  outside[5]=new Vector2(-218,-631);
  outside[6]=new Vector2(-569,-427);
  outside[7]=new Vector2(-815,-158);
  outside[8]=new Vector2(-780,95);
  outside[9]=new Vector2(-617,188);
  outside[10]=new Vector2(317,209);
  outside[11]=new Vector2(514,190);
  outside[12]=new Vector2(791,10);
  outside[13]=new Vector2(800,-172);
  Vector2[] inside=new Vector2[20];
  inside[0]=new Vector2(0,0);
  inside[1]=new Vector2(-370,2.7f);
  inside[2]=new Vector2(-504,-2.7f);
  inside[3]=new Vector2(-614,-110);
  inside[4]=new Vector2(-607,-191);
  inside[5]=new Vector2(-551,-288);
  inside[6]=new Vector2(-381,-374);
  inside[7]=new Vector2(-143,-485);
  inside[8]=new Vector2(-89,-483);
  inside[9]=new Vector2(110,-474);
  inside[10]=new Vector2(265,-364);
  inside[11]=new Vector2(512,-290);
  inside[12]=new Vector2(604,-183);
  inside[13]=new Vector2(604,-38);
  inside[14]=new Vector2(554,20);
  inside[15]=new Vector2(435,43);
  inside[16]=new Vector2(278,36);
  inside[17]=new Vector2(0,0);
  inside[18]=new Vector2(-370,2.7f);
  inside[19]=new Vector2(-504,-2.7f);
  trackOutside=CurveCollider.bSplineCurveCollider(0.25f,190,false,outside);
  trackOutside.attachCollider(buffyCollider);
  trackInside=CurveCollider.bSplineCurveCollider(0.25f,190,false,inside);
  trackInside.attachCollider(buffyCollider);
  checkpoint.add(collider(0.99f,0.01f,0,250,100,134,106,140));
  checkpoint.add(collider(0.88f,-0.473f,0,250,100,551,90,140));
  checkpoint.add(collider(0.23f,-0.973f,0,250,100,683,-55,140));
  checkpoint.add(collider(-0.836f,-0.548f,0,250,100,591,-327,140));
  checkpoint.add(collider(-0.956f,-0.293f,0,250,100,68,-574,140));
  checkpoint.add(collider(-0.852f,0.524f,0,250,100,-277,-521,140));
  checkpoint.add(collider(-0.319f,0.948f,0,250,100,-657,-236,140));
  checkpoint.add(collider(0.82f,0.572f,0,250,100,-652,8,140));
  checkpoint.add(collider(0.99f,0.948f,0,250,100,-404,95,140));
  checkpoint.add(collider(0.951f,0.31f,0,250,100,-71,96,140));
  endSprite=sprite("String_Node_Str");
  endSprite.setScale(0.25f,0.25f);
  layer1.addChild(terrain,buffy,trackOutside,trackInside);
  layer2.addChild(controller);
  for (int i=0; i < checkpoint.size(); i++) {
    layer1.addChild(checkpoint.get(i));
  }
  scene.addLayer(layer1);
  scene.addLayer(layer2);
}