diff --git a/comportementJCJ.c b/comportementJCJ.c index 6ba0f4c..2e0265a 100644 --- a/comportementJCJ.c +++ b/comportementJCJ.c @@ -1,5 +1,8 @@ #include void compJCJ(int taille){ - DessinerSegment(0, 0, 100, 100); + int fin = 0; + while(fin == 0){ + EcrireTexte(10, 10, "Tour du joueur 1", 1); + } } diff --git a/croix1.png b/croix1.png new file mode 100644 index 0000000..3b0cf24 Binary files /dev/null and b/croix1.png differ diff --git a/croix2.png b/croix2.png new file mode 100644 index 0000000..d99bf83 Binary files /dev/null and b/croix2.png differ diff --git a/jeu.c b/jeu.c index cf6a84b..8f58392 100644 --- a/jeu.c +++ b/jeu.c @@ -13,5 +13,4 @@ void Jeu(){ }else if (choix[0] == 2){ compJCIA(taille); } - while(1){} } diff --git a/main.c b/main.c index 6ee781b..0085ac2 100644 --- a/main.c +++ b/main.c @@ -1,15 +1,10 @@ #include -#include - #include "jeu.h" - - int main (void){ InitialiserGraphique(); CreerFenetre(50, 50, 700, 500); /* Initialise la fenetre puis lance le programme jeu.c qui lancera d'autre programme */ EffacerEcran(CouleurParNom("white")); Jeu(); - return EXIT_SUCCESS; } diff --git a/pion.png b/pion.png deleted file mode 100644 index 129846f..0000000 Binary files a/pion.png and /dev/null differ diff --git a/pion1.png b/pion1.png new file mode 100644 index 0000000..e58b0ba Binary files /dev/null and b/pion1.png differ diff --git a/pion2.png b/pion2.png index c48253d..bf2e154 100644 Binary files a/pion2.png and b/pion2.png differ diff --git a/taille.c b/taille.c index 004e961..cbaa2fe 100644 --- a/taille.c +++ b/taille.c @@ -35,7 +35,6 @@ int GererChoixTaille(){ -/* Trouver comment afficher les immages car la n'affiche aucune image */ /* Fonction qui affiche le cadre des bouttons et affiche une image représentant la taille du tableau disponible */ void AfficherSelectionBoutton(){