Coding
Tesla Autopilot Simulator
2026-07-12
Built a Scratch driving simulator that uses if-else statements, lane variables, and cloned cars.

Scratch Project Link
[https://scratch.mit.edu/projects/1240789921](https://scratch.mit.edu/projects/1240789921)
What I built
This is my Tesla Autopilot simulator. I used if-else statements to check whether cars were in the oncoming lanes and variables to track the current lane of the player's car.
I also used clones to generate other cars, making the simulation feel more realistic and interactive.
codingscratchsimulation