diff --git a/Mots/mot3lettres.txt b/Mots/mot3lettres.txt index b4e5c7f..ee71214 100644 --- a/Mots/mot3lettres.txt +++ b/Mots/mot3lettres.txt @@ -53,4 +53,49 @@ feu peu fou pas -bac \ No newline at end of file +bac +air +ami +arc +but +car +cas +mai +mon +pin +pro +que +qui +six +sud +vif +vin +vis +vol +vos +dix +ane +art +aux +don +fan +gai +lac +rat +lys +bal +bel +dil +lin +jus +nid +bru +fer +cru +pur +tir +zoo +bat +toc +rap +tas \ No newline at end of file diff --git a/main.cpp b/main.cpp index 8278f7d..841986e 100644 --- a/main.cpp +++ b/main.cpp @@ -26,7 +26,7 @@ int main() { int nbMot3lettre = 15; //Nombre de mot présent dans le fichier int nbLettre = 3; string motRandom; // Mot random - const int NOMBREMOT3LETTRE = 56; + const int NOMBREMOT3LETTRE = 101; int nbEssai = 6; while (quitter == false) { diff --git a/mesFonctions.cpp b/mesFonctions.cpp index f249893..2ab1fc0 100644 --- a/mesFonctions.cpp +++ b/mesFonctions.cpp @@ -24,7 +24,7 @@ using namespace std::chrono_literals; #include //Sources : https://www.tutorialspoint.com/cpp_standard_library/limits.htm et https://stackoverflow.com/questions/2158943/split-string-into-array-of-chars const int BONNE_PLACE = 1, MAUVAIS_PLACE = 2, PAS_LA = 3; -extern const int NOMBREMOT3LETTRE = 56; +extern const int NOMBREMOT3LETTRE = 101; extern int nbEssai = 6; /*====================================