use alphabeta bc he is swag
This commit is contained in:
parent
79613e27bc
commit
4c00f961fd
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#include "../includes/alphabeta.h"
|
||||||
#include "../includes/humain.h"
|
#include "../includes/humain.h"
|
||||||
#include "../includes/minimax.h"
|
#include "../includes/minimax.h"
|
||||||
|
|
||||||
|
@ -37,7 +38,7 @@ void deroulement_partie(Jeu *jeu) {
|
||||||
printf("Tour des jetons %ss !\n", tour->nom);
|
printf("Tour des jetons %ss !\n", tour->nom);
|
||||||
|
|
||||||
if (tour->couleur == NOIR) {
|
if (tour->couleur == NOIR) {
|
||||||
action_joueur_minimax(jeu, tour->couleur);
|
action_joueur_alphabeta(jeu, tour->couleur);
|
||||||
} else {
|
} else {
|
||||||
printf("Coups possibles (%d) : ", possibilites->taille_liste);
|
printf("Coups possibles (%d) : ", possibilites->taille_liste);
|
||||||
affiche_liste(possibilites->coups->premier);
|
affiche_liste(possibilites->coups->premier);
|
||||||
|
|
Reference in a new issue