# Elevator Simulation

Elevator Simulation was a course project from Introduction to Computer Science (CSC 148) in Fall 2018. The program simulates elevators’ movement in pygame given the number of elevators and floors along with one of the moving and arrival algorithms below.

There are three moving algorithms in the simulation:

- Random Moving Algorithm: An algorithm that picks a random direction for each elevator.
- Pushy Passenger Algorithm: An algorithm that preferences the first passenger on each elevator.
- Short-Sighted Algorithm: An algorithm that preferences passengers with the closest possible destination.

There are two arrival generators in the simulation:

- Random Arrival Generator: An algorithm that generates a fixed number of passengers on random floors.
- File Arrival Generator: An algorithm that generates arrivals from reading a csv file