Skip to content

Mars Exploration is a simple command-line simulator for a hypothetical Mars exploration mission, written in C++.

License

Notifications You must be signed in to change notification settings

marwan-9/mars-exploration-simulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mars Exploration Simulator

Mars Exploration is a simple command-line simulator for a hypothetical Mars exploration mission, written in C++.

Table of Contents

  1. Overview
  2. Simulator Context
  3. How to Run the Program
  4. How to Use the Program
  5. Contributing
  6. License

Overview

This was the project of the "Data Structures" course in Cairo University, Computer Engineering Department. It was aimed after the completion of this project that we will be able to:

  • Understand unstructured, natural language problem description and derive an appropriate design.
  • Intuitively modularize a design into independent components and divide these components among team members.
  • Build and use data structures to implement the proposed design.
  • Write a complete object-oriented C++ program that performs a non-trivial task.

Simulator Context

In the hope of getting to know more about Mars and the possibility of life on its surface, a huge number of exploratory missions to different regions of the planet need to be conducted. Imagine (at some future time) that we have several rovers of different types and capabilities on the surface of Mars ready to carry out missions to its different regions. There is also a hypothetical base station which acts as the central point from which the different rovers begin their exploratory missions and to which they return after mission completion. The base station basically assigns missions to the different rovers.

How to Run

How to Run Using Visual Studio

  1. Download all files on your local machine.
  2. Open "MarsExploration" folder.
  3. Open "MarsExploration.sln" file, using Visual Studio.
  4. Run the code (F5).

How to Run Using gcc

Makefile will be added soon.

How to Use the Program

It gets from the user text file containing information about the rovers available and the missions required, Then it will simulates the mission assignment process and calculates some related statistics in order to help improve the overall process.

There are 3 interface modes available

  • Interactive mode
  • Step-by-step mode
  • Silent mode

The description of each mode and more of the program details is available on the project description file.

Contributors

Contributers in the project:

License

Copyright (c) [2021] [Ahmed Fathy, Khaled Mamdouh, Marwan Mostafa, Seif Albaghdady]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Mars Exploration Simulator"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Mars Exploration is a simple command-line simulator for a hypothetical Mars exploration mission, written in C++.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%