In this project, I developed a traffic simulation in C++ in which vehicles move along streets and cross intersections. Each intersection is equipped with a traffic light. I built a suitable and thread-safe communication protocol in C++ between vehicles and intersections to complete the simulation.
This project is connected to the C++ Nanodegree, from Udacity. I used Docker, and C++ to run each vehicle on a separate thread, and manage intersections to facilitate traffic flow and avoid collisions.