From: giersch Date: Tue, 20 Nov 2007 16:56:19 +0000 (+0000) Subject: . X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/graphlib.git/commitdiff_plain/e8f77294260feb1aa18e230fb9656ce86884bcde?ds=sidebyside . --- 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[])