Skip to content

Conversation

@clementineob
Copy link
Collaborator

No description provided.

Copy link
Owner

@Hypocrate-code Hypocrate-code left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dans l'ensemble super, quelques ptites modifs à faire

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

juste faire belek à pas inclure le cmakelists mais oklm

QComboBox* dificultyComboBox;


QVBoxLayout* variantesLayout;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?


}
// calcul points jardins : +1 pt pour chaque jardin
if (h->getCouleur() == Couleur::Vert)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ajouter algo détection de lac pour les quartier vert
J'ai déjà traité un problème similaire pour l'ajout des hexagones fantomes, n'hésite pas si tu n'as pas d'idée de comment le faire

src/Cite.cpp Outdated
if(variantes[2]==1) var = niveau;
if (cond)
points_violet += 1 * niveau;
points_violet += 1 * niveau * var;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

si var = niveau, alors ça ajoute à points_violet niveau², au lieu de 2*niveau
Aussi, cond correspond à la condition pour gagner des points des temples, mais pas de la condition supplémentaire pour doubler les points s'il est sur un niveau supérieur

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes faut que
if(variantes[2]==1){
if(niveau != 1 ) var = 2 ;
}
if (cond) points_violet +=1 * niveau * var

var = 2;
}
}
if (cond) points_rouge += 1 * niveau * var;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

carré

points_bleu = *std::max_element(points_hab.begin(), points_hab.end());
if(variantes[3]==1){
if(points_bleu>=10){
points_bleu=points_bleu*2;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A ne pas ajouter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants