From e8f77294260feb1aa18e230fb9656ce86884bcde Mon Sep 17 00:00:00 2001 From: giersch Date: Tue, 20 Nov 2007 16:56:19 +0000 Subject: [PATCH] . --- chateaux/chateaux.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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[]) -- 2.20.1