changed error message

This commit is contained in:
s452645 2021-04-18 18:09:39 +02:00
parent b9bda6f883
commit 01cf653c7d

View File

@ -64,7 +64,7 @@ def graphsearch(initial_state: State, minefield: Minefield, fringe: List[Node] =
while True:
# fringe empty -> solution not found
if not any(fringe):
ctypes.windll.user32.MessageBoxW(0, "Znowu się nie udało", "GAME OVER", 1)
ctypes.windll.user32.MessageBoxW(0, "Brak rozwiązania", "GAME OVER", 1)
return []
# get first element from fringe