Rename function for clarity

This commit is contained in:
filifa 2024-03-19 20:38:20 -05:00
parent 1029c49c74
commit 067a0d568c
1 changed files with 2 additions and 2 deletions

View File

@ -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()