X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/graphlib.git/blobdiff_plain/9593d0d11261a3e71c3b8c5b1a53c47fa02d74d3..e8f77294260feb1aa18e230fb9656ce86884bcde:/chateaux/chateaux.cpp diff --git a/chateaux/chateaux.cpp b/chateaux/chateaux.cpp index 4fbf996..8192d06 100644 --- a/chateaux/chateaux.cpp +++ b/chateaux/chateaux.cpp @@ -271,6 +271,12 @@ void jeu(DrawingWindow& w) dessineExplosion(w, x, y); } while (!perdant); dessineFlammes(w, x, y); + std::cout << "Joueur " << perdant; + if (perdant == joueur) + std::cout << " s'est suicidé"; + else + std::cout << " a perdu"; + std::cout << " !\n"; } int main(int argc, char *argv[])