From: Skullheadx <704277@pdsb.net> Date: Tue, 24 Jan 2023 22:11:28 +0000 (-0500) Subject: clean up files + add sorting method files X-Git-Url: http://git.skullheadx.com/links.html?a=commitdiff_plain;h=51c3a234e66d537470051fd1d382ba882cd9ad56;p=Sorting.git clean up files + add sorting method files --- diff --git a/display.py b/display.py index 17038d3..57b9e6c 100644 --- a/display.py +++ b/display.py @@ -35,4 +35,4 @@ class Display: delta = self.clock.tick(self.FPS) def draw(self, surf): - self.screen.fill(GRAY) + surf.fill(GRAY) diff --git a/main.py b/main.py index d90402b..cd3b9c2 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,6 @@ from display import Display + def main(): window = Display() window.show() diff --git a/sorting_algorithms/bubble_sort.py b/sorting_algorithms/bubble_sort.py new file mode 100644 index 0000000..e69de29 diff --git a/sorting_algorithms/insertion_sort.py b/sorting_algorithms/insertion_sort.py new file mode 100644 index 0000000..e69de29 diff --git a/sorting_algorithms/quick_sort.py b/sorting_algorithms/quick_sort.py new file mode 100644 index 0000000..e69de29 diff --git a/sorting_algorithms/selection_sort.py b/sorting_algorithms/selection_sort.py new file mode 100644 index 0000000..e69de29