Skip to content

Commit

Permalink
Merge pull request #1 from SteponasK/branch_update_Readme
Browse files Browse the repository at this point in the history
Fixed ReadMe file
  • Loading branch information
SteponasK committed Sep 1, 2023
2 parents 115ac56 + 7285f5a commit 9463cbe
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 3 deletions.
File renamed without changes.
72 changes: 69 additions & 3 deletions README.md
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
Binary file added ReadMe_img/menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadMe_img/sorting_algorithm.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9463cbe

Please sign in to comment.