Skip to content

Visual simulation and viewer for several sorting algorithms and array sizes.

Notifications You must be signed in to change notification settings

jacobziff/sorting-algorithm-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithm Simulator

This is a simple program to display sorting algorithms virtually. Those included are:

  • BubbleSort
  • SelectionSort
  • InsertionSort
  • MergeSort
  • QuickSort
  • SlowSort
  • BogoSort

For this project, I chose to use C++ with the SFML library. It is my first time using anything visual beyond what can be displayed in a terminal with C++.

Installation

Download the ZIP file and extract/unzip it. The necessary files are the "Simulator" executable and the "arial" ttf file located in the "assets" folder.

Usage

All that is necessary is to run the "Simulator" executable in the directory.

Once started, the left and right arrow keys can be used to navigate between the three screens. The escape key can be used to exit the program. The "Instructions" screen lists further details about using the simulator.

About

Visual simulation and viewer for several sorting algorithms and array sizes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published