changed error message
This commit is contained in:
parent
b9bda6f883
commit
01cf653c7d
@ -64,7 +64,7 @@ def graphsearch(initial_state: State, minefield: Minefield, fringe: List[Node] =
|
|||||||
while True:
|
while True:
|
||||||
# fringe empty -> solution not found
|
# fringe empty -> solution not found
|
||||||
if not any(fringe):
|
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 []
|
return []
|
||||||
|
|
||||||
# get first element from fringe
|
# get first element from fringe
|
||||||
|
Loading…
Reference in New Issue
Block a user