コード例 #1
0
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)
コード例 #2
0
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)