ajout de sprite de meilleur qualité

This commit is contained in:
ozvann
2024-11-13 23:25:07 +01:00
parent e6dfc3a8a6
commit eb2476f9ed
9 changed files with 4 additions and 8 deletions

View File

@@ -1,5 +1,8 @@
#include <graph.h> #include <graph.h>
void compJCJ(int taille){ void compJCJ(int taille){
DessinerSegment(0, 0, 100, 100); int fin = 0;
while(fin == 0){
EcrireTexte(10, 10, "Tour du joueur 1", 1);
}
} }

BIN
croix1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

BIN
croix2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

1
jeu.c
View File

@@ -13,5 +13,4 @@ void Jeu(){
}else if (choix[0] == 2){ }else if (choix[0] == 2){
compJCIA(taille); compJCIA(taille);
} }
while(1){}
} }

5
main.c
View File

@@ -1,15 +1,10 @@
#include <graph.h> #include <graph.h>
#include <stdlib.h>
#include "jeu.h" #include "jeu.h"
int main (void){ int main (void){
InitialiserGraphique(); InitialiserGraphique();
CreerFenetre(50, 50, 700, 500); /* Initialise la fenetre puis lance le programme jeu.c qui lancera d'autre programme */ CreerFenetre(50, 50, 700, 500); /* Initialise la fenetre puis lance le programme jeu.c qui lancera d'autre programme */
EffacerEcran(CouleurParNom("white")); EffacerEcran(CouleurParNom("white"));
Jeu(); Jeu();
return EXIT_SUCCESS;
} }

BIN
pion.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 672 B

BIN
pion1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

BIN
pion2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 555 B

After

Width:  |  Height:  |  Size: 270 B

View File

@@ -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 */ /* Fonction qui affiche le cadre des bouttons et affiche une image représentant la taille du tableau disponible */
void AfficherSelectionBoutton(){ void AfficherSelectionBoutton(){