nquinquenel / dicewars_game

School project of the game called DiceWars made in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project DiceWars

Development of the game DiceWars composed of a graphical interface (SDL library) and an artificial intelligence.

How to use ?

./DiceWars 4 5 libStrategie1.so libStrategie2.so libStrategie3.so libStrategie4.so

4: Number of games to do

5: Number of players (1 Human and 4 AI)

libStrategie1.so libStrategie2.so libStrategie3.so libStrategie4.so : Name of the libraries for the AI (you can put the same multiple times)

How to compile ?

You just have to be in the repertory /src/ and to use the following commands :

make: Compile the project and creates the file /src/DiceWars
make clean: Remove the objects files (.o)
make mrproper: Remove the objects files and the executable

Projet DiceWars

Développement du jeu DiceWars, composé d'une interface graphique (librairie SDL) et d'une intelligence artificielle.

Comment lancer l'éxécutable ?

./DiceWars 4 5 libStrategie1.so libStrategie2.so libStrategie3.so libStrategie4.so

4: Nombre de partie à faire

5: Nombre de joueurs (1 humains et 4 IA)

libStrategie1.so libStrategie2.so libStrategie3.so libStrategie4.so : Nom des librairies pour les stratégies (possible de mettre la même plusieurs fois)

Comment compiler ?

Il suffit de se placer dans le répertoire /src/ puis d'utiliser les commandes suivantes :

make: Compile le projet dans son ensemble et créer un fichier /src/DiceWars
make clean: Supprime les fichiers objets (.o)
make mrproper: Supprime les fichiers objets et l'exécutable

About

School project of the game called DiceWars made in C


Languages

Language:C 99.6%Language:Makefile 0.4%