-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from SteponasK/branch_update_Readme
Fixed ReadMe file
- Loading branch information
Showing
4 changed files
with
69 additions
and
3 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,70 @@ | ||
# Sorting_Algorithms | ||
# Sorting Algorithm visualisation | ||
![menu_picture](ReadMe_img/menu.png) | ||
Sorting algorithms visualisation made using SFML and C++, used to learn how a sorting algorithm works. | ||
## Available algorithms | ||
1. Bubble sort | ||
1. Shaker (Coctail) Sort | ||
1. Selection Sort | ||
1. Double selection sort | ||
1. Insertion Sort | ||
|
||
## Features | ||
![Sorting_Algorithm_Gif](ReadMe_img/sorting_algorithm.gif) | ||
- 5 Different Sorting Algorithms | ||
- Change number of Bars to be sorted | ||
- Change FrameRate (FPS) cap | ||
- Explanation, of how each sorting algorithm works. | ||
|
||
## Prerequisites | ||
You need to have [CMake]((https://cmake.org/download/)) or [SFML](https://www.sfml-dev.org/download.php) installed. | ||
|
||
|
||
## Installation | ||
|
||
#### If you have CMake installed: | ||
|
||
Open your Command Prompt or Terminal | ||
|
||
For a single-configuration generator (typically the case on Linux and macOS): | ||
|
||
- | ||
``` | ||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release | ||
cmake --build build | ||
``` | ||
|
||
For a multi-configuration generator (typically the case on Windows): | ||
|
||
- | ||
``` | ||
cmake -S . -B build | ||
cmake --build build --config Release | ||
``` | ||
#### Compiling it yourself with SFML: | ||
1. Clone this repository | ||
``` | ||
git clone https://github.com/SteponasK/Sorting_Algorithms_SFML | ||
``` | ||
1. Configure your project, using online [guide](https://www.sfml-dev.org/tutorials/2.6/start-vc.php) or a youtube [ video](https://www.youtube.com/watch?v=neIoDQ71yb0). | ||
1. Compile all the files using Visual Studio or the IDE of your choice. | ||
## Built With | ||
* [SFML](https://www.sfml-dev.org/) - Software Development Library | ||
* [C++](https://cplusplus.com/) Programming Language | ||
## Contributing | ||
Currently, contributing to the project is not available, as the project was created for me to learn SFML, C++ and Sorting Algorithm theory. | ||
Howerer feel free to fork this project, and experiment with your own modifications! | ||
## Authors | ||
* **SteponasK** - *Initial work* | ||
## License | ||
This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE](LICENSE.txt) file for details | ||
CMakeSFMLProject.cpp is main file. | ||
Sorting Algorithm application made in SFML |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.