from othello import * from alphabeta import * from time import perf_counter othello = Othello() print(othello) PROF = 7 t0 = perf_counter() solution = alpha_beta(othello, othello.joueur_courant, 1, PROF, heuristique_1, -1000, 1000) t1 = perf_counter() print("temps :",t1-t0) 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)