Skip to content

10gianluca/Rocket-Elevators-Python-Controller

Repository files navigation

Usage

To use the program, you need to type python -m pytest

Example

python -m pytest

Description

This program is a controller for an elevator installation of which it takes the input from out side the elevator to call the best possible elevator and pick up the person on the right floor. Then once inside it takes there input of which floor they want to go to and takes them to it. the code is able to run through multiple scenarios with different floors, different directions, and different stops.

Dependencies

To be able to try the program, you need .. -the current floor of the person pressing the button -the current floor of the elevator -the direction the elevator is going -the direction the person wants to go -the status of the elevator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages