def new_maze(): nr_obstacole = 100 pozitii, scop = get_pozitii(nr_obstacole) list_of_moves = db.main(pozitii, scop) while len(list_of_moves) == 0: pozitii, scop = get_pozitii(nr_obstacole) list_of_moves = db.main(pozitii, scop) computer_player(list_of_moves)
def new_maze(): nr_obstacole = 100 pozitii, scop = get_pozitii(nr_obstacole) # breakpoint list_of_moves = db.main(pozitii, scop) computer_player(list_of_moves)