Autonomous Truck Code Help, Making turn BOTH Directions.

Like I said, it would be nice if it had some randomness to it, like if it wanted to it could turn right two times in a row. I don't want it to alternate which direction it turns.

You mean like if it flipped a coin? Perhaps you could put colored tape on one side of the coin, add a servo to flip the coin, and a color sensor to read the color.

Or, use the random() function.