Skip to content

linuschas/projektvecka_grupp7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Traffic Light Simulation

This project simulates a traffic light with a pedestrian crossing button. The traffic light has three states: green, yellow, and red. The pedestrian crossing button can be pressed to change the traffic light to red, allowing pedestrians to cross.

Dependencies

  • C++11 or later
  • C++ Standard Library

How to Run

  1. Compile the program using a C++ compiler.
  2. Run the executable.

Example Compilation Command

g++ -std=c++23 main.cpp -o trafficlight

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages