Skip to content

Commit

Permalink
Minor fix - switched Black and Red in printing winner
Browse files Browse the repository at this point in the history
  • Loading branch information
arunchaganty committed Oct 23, 2010
1 parent 85d3ac1 commit d283535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Expand Up @@ -149,7 +149,7 @@ static void runGame( string blackBotPath, string redBotPath )
}
else
{
string playerStr = ( margin > 0 ) ? "Red" : "Black";
string playerStr = ( margin > 0 ) ? "Black" : "Red";
cerr << "[Win]: " + playerStr << endl;
}

Expand Down

0 comments on commit d283535

Please sign in to comment.