Skip to content

Davysongs/Sort-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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 -

About

Sorting algorithm using Python (pygame)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages