From 067a0d568cd1b3d65f41f277ca322e9fd09ad865 Mon Sep 17 00:00:00 2001 From: filifa Date: Tue, 19 Mar 2024 20:38:20 -0500 Subject: [PATCH] Rename function for clarity --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index f8cd79d..42885e6 100755 --- a/main.py +++ b/main.py @@ -8,7 +8,7 @@ from pygame.locals import * from square import Square from board import Board -def start_game(rows, cols, mines): +def play_game(rows, cols, mines): pygame.init() # Pygame/ALSA has a bug that results in high CPU usage. This line reduces @@ -76,7 +76,7 @@ def play_pressed(option_box): return option_box.destroy() - start_game(rows, cols, mines) + play_game(rows, cols, mines) # These lines will not execute until the game is over play_again_box = tkinter.Tk()