]> Skullheadx's Git Forge - Minesweeper.git/commitdiff
clean up
authorSkullheadx <admonty1@gmail.com>
Fri, 10 Mar 2023 01:10:23 +0000 (20:10 -0500)
committerSkullheadx <admonty1@gmail.com>
Fri, 10 Mar 2023 01:10:23 +0000 (20:10 -0500)
main.py
setup.py

diff --git a/main.py b/main.py
index af948322893cfde22c756aef34840a6b535bd5bf..530f4873311e572c3855c629179229f21eb08e23 100644 (file)
--- a/main.py
+++ b/main.py
@@ -2,6 +2,7 @@ from setup import *
 from game import Game
 from menus import Lose, Win
 
+
 def main():
        scene = Game()
        is_running = True
@@ -20,7 +21,8 @@ def main():
                        scene = Lose(screen)
 
                pygame.display.update()
-               delta = clock.tick(60)/1000
+               delta = clock.tick(60) / 1000
+
 
 if __name__ == "__main__":
        main()
index 79d580bf4b16e0e2753cf5394f256854de7a7279..694ac4b2a0da27710ff2e818bf143cf01c695f82 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -19,4 +19,4 @@ COMMAND_EXIT = 0
 COMMAND_RESTART = 1
 COMMAND_WIN = 2
 COMMAND_LOSE = 3
-COMMAND_NONE = 4
\ No newline at end of file
+COMMAND_NONE = 4