From 01cf653c7d301c1333095cae0e91ba21d6ce1796 Mon Sep 17 00:00:00 2001 From: s452645 Date: Sun, 18 Apr 2021 18:09:39 +0200 Subject: [PATCH] changed error message --- searching_algorithms/bfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searching_algorithms/bfs.py b/searching_algorithms/bfs.py index 612c5d6..80dd170 100644 --- a/searching_algorithms/bfs.py +++ b/searching_algorithms/bfs.py @@ -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