public Random_middle_tank_action(Tank tank)
 {
     double r = Rand.NextDouble();
     if (r < 0.2)
     {
         tank.Move_down();
     }
     else if (r < 0.4)
     {
         tank.Move_left();
     }
     else if (r < 0.6)
     {
         tank.Move_right();
     }
     else if (r < 0.8)
     {
         tank.Move_up();
     }
     else
     {
         tank.Shoot();
     }
 }