You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
774 B
36 lines
774 B
namespace BibliothequeClasses
|
|
{
|
|
public class Joueur(string nom)
|
|
{
|
|
private string nom = nom;
|
|
private int nbCoups = 0;
|
|
private string[] combinaisonAleatoire = [];
|
|
|
|
public void FaireProposition(Combinaison saisi)
|
|
{
|
|
this.nbCoups += 1;
|
|
|
|
}
|
|
|
|
public static string[] GenererCombinaison()
|
|
{
|
|
for(int i = 0; i < 4; i++)
|
|
{
|
|
var rand = new Random();
|
|
// recuperer une couleur est l'ajouter à la combinaison aléatoire
|
|
}
|
|
|
|
}
|
|
|
|
public static int NbCoups
|
|
{
|
|
get;
|
|
}
|
|
|
|
public string Nom
|
|
{
|
|
get;
|
|
}
|
|
}
|
|
}
|