Permalink
Browse files

Added visible output when there is a winner

  • Loading branch information...
crimsondynamo329 committed May 8, 2012
1 parent 514625b commit 7cb3befe39ebf32deaf0fb6655f209a7bfc72397
Showing with 2 additions and 0 deletions.
  1. +2 −0 TTT_core/TTT.cpp
View
@@ -238,9 +238,11 @@ void outputWinner() {
switch (winner) {
case PLAYER1:
cout << PLAYER1_str << endl;
+ cerr << "Winner: Player " << PLAYER1_str << endl;
break;
case PLAYER2:
cout << PLAYER2_str << endl;
+ cerr << "Winner: Player " << PLAYER2_str << endl;
break;
case NONE:
cout << NONE_str << endl;

0 comments on commit 7cb3bef

Please sign in to comment.