Skip to content

v0.2-alpha: Basic sorting, colors and console configuration

Pre-release
Pre-release
Compare
Choose a tag to compare
@alesbe alesbe released this 14 Apr 22:45
· 148 commits to main since this release

Finally! After hours of work here is the first verion that actually does something. Of course, it's still in early development, here is some of the key features implemented:

  • Bubble sort
  • Configurable time (ms) between comparisons and number of elements to compare
  • Sort time calculation
  • Color to each comparison and final verify "animation"

Things that I would like for the next version:

  • More sorting algorithms (at least 2 more)
  • Add sound to each comparison acording to the value being compared

Temporary controls:
Space: Start sort
Backspace: Stop sort
F1: Change number of elements to compare
F2: Change time between comparisons (in milliseconds)
The sorting visualizer window needs to be focused (on top of the others) to detect the keypresses, and the input will be in the console window.