Controlling traffic signal


#1

Greetings dear friends! Im working on a project in my Uni. For my project I need to control the traffic signals in the game i.e. whenever an ambulance approaches the traffic junction [Traffic signal], the light must turn green. I really need your help fellow friends. Im relying on you for my grades. Any idea is appreciated. Help a brother out. Thank you. Peace


#2

Tell us your ideas first.