Coder Social home page Coder Social logo

alia-puissance-4's Introduction

ALIA-Puissance-4

Hexanome 4313 :

Damien Carreau Enzo Boscher Alexandre Bonhomme Pierre-Louis Jallerat Mickael Ben Said Antoine Mandin

Main.pl

Niveau de l'IA:
0: pas d'IA, joueur humain
1: aléatoire
2: s'il existe, joue un coup gagnant
3: 2 + s'il existe, empèche un coup gagnant adverser
4: 2 + 3 + joue un coup random sans donné un coup gagnant à l'adversaire
5: 2 + 3 + MinMas statique

  • Lancer un jeu :
    lancerJeu(arg1, arg2, Etat, Res).
    arg1: niv de l'IA du joueur 1
    arg2: niv de l'IA du joueur 2
    Etat: Spécifie si l'on souhaite un affichage du jeu ou non. (utile pour stats)
    Res : Retourne le joueur gagnant
    Ex : lancerJeu(3,5,1,R).<br/>

  • Lancer une statistique
    Lance une statistique entre 2 IA (N1 et N2) sur 50 jeux
    stats(N1,N2,Cpt,J1,J2,Nul).
    N1 : niv de l'IA du joueur 1
    N2 : niv de l'IA du joueur 2
    Cpt: Compteur du nombre de jeu. Compte jusqu'à 50
    J1 : Nombre de jeu gagner par le joueur 1
    J2 : Nombre de jeu gagner par le joueur 2
    Nul: Nombre de jeu nul
    Ex : stats(3,5,0,0,0,0).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.