Skip to content
/ Ruff Public

Package for any utility I may require in the future. Currently implemented is Search algorithms, UI engine, and Matching.

License

Notifications You must be signed in to change notification settings

ChrisRuff/Ruff

Repository files navigation

ChrisRuff

Current Features:

Searching

  • ASTAR

UI Engine

Simple engine for creating 2D environments.

UI Examples

Circles: Creates an environment to interact with circle collisions

Gravity: Simulates gravity around points

AStar: Visualizes the AStar path finding algorithm

Sprites: Shows some tree sprites being animated and spreading

Sorting

Algorithms implemented are:

  • Selection Sort
std::vector<int> list{0,8,5,10,1};
ruff::selectionSort(list);
  • Bubble Sort
std::vector<int> list{0,8,5,10,1};
ruff::bubbleSort(list);
  • Insertion Sort
std::vector<int> list{0,8,5,10,1};
ruff::insertionSort(list);
  • Quick Sort
std::vector<int> list{0,8,5,10,1};
ruff::quickSort(list);
  • Merge Sort
std::vector<int> list{0,8,5,10,1};
ruff::mergeSort(list);
  • Radix Sort
std::vector<int> list{0,8,5,10,1};
ruff::radixSort(list, [](int a){return a;});

About

Package for any utility I may require in the future. Currently implemented is Search algorithms, UI engine, and Matching.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published