summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/testharness.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/testharness.cpp b/test/testharness.cpp
index a9b9814..64847d1 100644
--- a/test/testharness.cpp
+++ b/test/testharness.cpp
@@ -695,7 +695,16 @@ void TestHarness::selfPlayGame(unsigned int gameNumber, bool reports, bool playa
{
if (game.currentPosition().gameOver())
{
- if (!m_quiet) { UVcout << "GAME OVER" << endl; }
+ if (!m_quiet) {
+ UVcout << "GAME OVER ";
+ GamePosition &pos = game.currentPosition();
+ const PlayerList players = pos.endgameAdjustedScores();
+ for (PlayerList::const_iterator it = players.begin();
+ it != players.end(); ++it) {
+ UVcout << it->name() << " : " << it->score() << " ";
+ }
+ UVcout << endl;
+ }
break;
}