ajout des fichier pour les comportement du jeu en fonction du nombre de joueur

This commit is contained in:
2024-11-13 11:07:47 +01:00
parent aa7bceba3c
commit 4225c39b86
10 changed files with 50 additions and 16 deletions

17
jeu.c
View File

@@ -1,16 +1,17 @@
#include <graph.h>
#include "menu.h"
/* 1 = JCJ 2 = JCIA*/
#include "comportementJCJ.h"
#include "comportementJCIA.h"
void Jeu(){
int choix = 0;
choix = Menu();
if(choix == 1){
/**/
}else if (choix == 2){
/**/
int choix[2], taille = 0;
Menu(choix);
taille = choix[1];
if(choix[0] == 1){
compJCJ(taille);
}else if (choix[0] == 2){
compJCIA(taille);
}
while(1){}
}