A real-time, Allegro-powered visualization of a single-elevator controller. The simulator replays a scripted set of passenger requests, animates pickup/drop-off, and reports status in real time.
- C++17 toolchain (
g++or clang++) - Allegro 5
brew install allegrog++ -std=c++17 ECGraphicViewImp.cpp SimpleObserver.cpp ElevatorSimulator.cpp $(pkg-config allegro-5 allegro_main-5 allegro_font-5 allegro_primitives-5 allegro_image-5 allegro_ttf-5 --libs --cflags) -o ElevatorSimulator./ElevatorSimulator test-file-1.txt