ajout des fichier pour les comportement du jeu en fonction du nombre de joueur
This commit is contained in:
17
jeu.c
17
jeu.c
@@ -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){}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user