That last paragraph reminded me of an old Atari game where you had a grid of roads and could toggle the lights between N/S or E/W, with the goal of keeping the traffic going for as long as possible without getting backed up, but I can't for the life of me remember what it was called now.