My new Sumo Robot using Arduino Uno including code

Here's my new sumo robot including the following: 4 Dc motors sharp IR Detection 4 Tcrt5000 H bridge using relays with ULN2803 i don't try this code yet so if any error or any mistake just tell me,Thanks

#define Motor1_2_Pin1 1
#define Motor1_2_Pin2 2

#define Motor3_4_Pin1 3
#define Motor3_4_Pin2 4

#define Sharp_Pin A0

#define Tcrt1_Pin 5
#define Tcrt2_Pin 6

boolean Tcrt1;
boolean Tcrt2;
int Sharp;
void setup()

{
  pinMode(1,OUTPUT);
  pinMode(2,OUTPUT);
  pinMode(3,OUTPUT);
  pinMode(4,OUTPUT);
  pinMode(5,INPUT);
  pinMode(6,INPUT);
  
  Serial.begin(9600);

}
  void(* resetFunc) (void) = 0;       //declare reset function @ address 0
  void loop()
  
  {
    delay(5000);
    void ReadSensors();
    
    while(Sharp>500)//changing
    {
    void ReadSensors();
    void turnleft();
    if(Tcrt2==1)
    {
    void Brake();
    delay(3000);
    resetFunc();
    }
    }
     void Forward();
    
    
      while (!(Tcrt1==1))
      {
    void ReadSensors();
     if(Tcrt2==1)
    {
    void Brake();
    delay(3000);
    resetFunc();
    }
  
      }
  void Reverse();
  delay(2000);
  
  }

  
  void turnleft()
  {
  digitalWrite(1,1);
    digitalWrite(2,0);
    digitalWrite(3,0);
    digitalWrite(4,1);
  }
  
void turnright()
  {
  digitalWrite(1,0);
    digitalWrite(2,1);
    digitalWrite(3,1);
    digitalWrite(4,0);
  }
  
  void Forward()
  {
  digitalWrite(1,1);
    digitalWrite(2,0);
    digitalWrite(3,1);
    digitalWrite(4,0);
  }



void Reverse()
  {
  digitalWrite(1,0);
    digitalWrite(2,1);
    digitalWrite(3,0);
    digitalWrite(4,1);
  }

void Brake()
  {
  digitalWrite(1,1);
    digitalWrite(2,1);
    digitalWrite(3,1);
    digitalWrite(4,1);
  }
  
  
  void Stop()
  {
  digitalWrite(1,0);
    digitalWrite(2,0);
    digitalWrite(3,0);
    digitalWrite(4,0);
    Serial.println("Stop");
  }

void ReadSensors()
{
  Tcrt1=digitalRead(5);
  Serial.print("Tcrt1=");
  Serial.println(Tcrt1);
  Tcrt2=digitalRead(6);
  Sharp=analogRead(A0);
  
}

if any error or any mistake just tell me,Thanks

You mean like all the function prototypes you have in loop()?

void(* resetFunc) (void) = 0;       //declare reset function @ address 0

Bad idea. Really, not good.

You have a bunch of nice #defines such as

#define Motor1_2_Pin1 1

But never use them. In related news, you have used pin 1 for controlling motors, but you're also using the serial port which uses the same pin - need to pick a different one.

zoza1230: i don't try this code yet so if any error or any mistake just tell me,Thanks

Why not? What's the point of asking us to help you find the problems, if you don't know whether there are any or whether you can solve them for yourself? The chances of it working correctly as it is seem pretty slim to me, but if you never try to find/fix your own bugs you'll never learn how to.