Skip to content

Alz3bi/Magic-Land-Explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic Land Explorer

Magic Land Explorer is a console application designed to help users navigate and explore various destinations within a magical land. The application provides functionalities such as filtering destinations by duration, finding the longest duration destination, sorting destinations by name, and identifying the top 3 destinations with the longest durations.

Features

  • Filter by Destination Duration: Allows users to filter destinations based on their duration.
  • Find Longest Duration: Identifies the destination with the longest duration.
  • Sort Destinations by Name: Sorts all destinations alphabetically by their name.
  • Find Top 3 Duration: Lists the top 3 destinations with the longest durations.

Getting Started

To get started with Magic Land Explorer, follow these steps:

  1. Ensure you have .NET installed on your machine.
  2. Clone the repository to your local machine.
  3. Navigate to the project directory.
  4. Run the application using the command dotnet run from the terminal.

Prerequisites

  • .NET 7.0 or higher

Usage

Upon running the application, you will be presented with a menu of options:

  1. Filter by Destination Duration
  2. Find Longest Duration
  3. Sort Destinations by Name
  4. Find Top 3 Duration
  5. Exit

Enter the number corresponding to your choice and follow the on-screen instructions.

Data

The application uses a JSON file (MagicLandData.json) located in the data directory as its data source. This file contains a list of destinations within the magical land, each with its own set of attributes such as name and duration.

Contributing

Contributions are welcome. Please feel free to fork the repository and submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages