This mini project demonstrates the State design pattern through a traffic light simulation. Each traffic light state controlls its own behavior and transitions, showcasing how the State attern can be applied in practice.
The project also includes the Observer and Singleton patterns to manage state changes effectively.
The simulation is automated using the Thread class.
To run the application, simply execute the Main class.
This project is licensed under the MIT License - see the LICENSE file for details.