Skip to content

Kruispunt/Groep1-Kruispunt-Controller

Repository files navigation

Groep1-Kruispunt-Controller

issues license

   _____                   _____                 _            _____ _____ 
  / ____|                 |  __ \               | |     /\   |  __ \_   _|
 | |     _ __ ___  ___ ___| |__) |___   __ _  __| |    /  \  | |__) || |  
 | |    | '__/ _ \/ __/ __|  _  // _ \ / _` |/ _` |   / /\ \ |  ___/ | |  
 | |____| | | (_) \__ \__ \ | \ \ (_) | (_| | (_| |  / ____ \| |    _| |_ 
  \_____|_|  \___/|___/___/_|  \_\___/ \__,_|\__,_| /_/    \_\_|   |_____|

Groep1 Controller API

StoplichtController

This project is a traffic light controller simulation written in C#.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of .NET.
  • You have a Windows or macOS machine. The project can also be run on Linux but this guide focuses on Windows and macOS.

Setting Up StoplichtController

To set up StoplichtController, follow these steps:

Windows and macOS

  1. Clone the repository:

    https://github.com/Kruispunt/Groep1-Kruispunt-Controller.git
    
  2. Navigate to the project directory:

    cd StoplichtController
    
  3. Restore the .NET packages:

    dotnet restore
    
  4. Build the project:

    dotnet build
    

Running StoplichtController

To run StoplichtController, follow these steps:

  1. Run the project:
    dotnet run --project StoplichtController