Giter Site home page Giter Site logo

saher-amasha / shipsimulatorinterminal Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 1.37 MB

final project in Advanced Topics in Object-Oriented Programming

C++ 100.00%
cpp14 mvc model-view-controller smart-pointers singelton move-semantics design-patterns shared-ptr unique-ptr

shipsimulatorinterminal's Introduction


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.

shipsimulatorinterminal's People

Contributors

saher-amasha avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.