A Java project where a grid of streets consisting of traffic lights on intersections similar to those in big cities is built and the traffic flow of cars across the grid is optimized by developing algorithms for the manner in which traffic lights change their state.