Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.19 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.19 KB

Sorting Algorithm Visualization with Merge Sort

This Python project utilizes the Pygame library to visualize the Merge Sort algorithm by creating an interactive window displaying the sorting proces

Prerequisites

To run this project, you'll need:

  • Python installed on your machine.

  • Pygame library installed. You can install it using pip:

    pip install pygame

Running the Project

  1. Clone or download this repository to your local machine.

  2. Navigate to the project directory.

  3. Run the Python script:

    python AlgorithmSort.py

Usage

  • Press 'R' to generate a new random array for sorting.

  • Press 'Enter' to start the visualization of the Merge Sort algorithm. Features

  • Visualization of the Merge Sort algorithm using bars representing array elements.

  • Interactive interface using Pygame for displaying the sorting process.

Contributing

Contributions are welcome! If you have any suggestions, improvements, or feature ideas, feel free to submit a pull request.

Acknowledgments

  • The visualization logic is inspired by various sorting algorithm visualizations available online.

Author GODSON DAVID -