shipSimulatorInTerminalATOOP-Final-Project
my Final project in Advanced Topics in Object-Oriented Programming
Description:
This project is a time-dependent simulation of ships/ports , implemented using the Controller-View-Model paradigm.
Objects:
Port : an object with a fixed location that contains unlimited fuel reservoirs , it's responsible of unloading, loading, and refueling a Ship.
Ship : an object that can travel between ports; some types of ship such as the freighter can load containers from port and unload containers in port , all ships have a fuel tank of set size and moves in a set speed.
Types of ships :
1) Freighter:
This Freighter main function is to transports containers it move froms port to port loads and unloads cargo accordding to the input provided at each port it fills the fuel tank and travel to the next port.
2) Patrol_boat:
This Patrol_boat patrols the ports in the simulation, docks in them, once the route is completed ,it returns to the point of origin/departure.
3) Cruiser:
This Cruiser aka pirate attacks and robs cargo ships or attacks patrol ships; It cant dock in ports.
The creation of any ship occurs during the simulation.
Saher-Amasha/shipSimulatorInTerminal
final project in Advanced Topics in Object-Oriented Programming
C++