from othello import * from alphabetaObjet import * from time import perf_counter othello = Othello() print(othello) PROF = 7 algo = AlphaBeta(PROF, heuristique_1) t0 = perf_counter() solution = algo.executer(othello) t1 = perf_counter() print("temps :",t1-t0) print("Nombre de situations examinees", algo.get_nb_situations_examinees()) print("Liste de coups sélectionnée :",solution[0]) print("Récompense associée à la position finale envisagée :", solution[1]) print("Position finale envisagée :") for coup in solution[0]: othello.jouer_coup(coup[0],coup[1]) print(othello)