|
@@ -145,8 +145,9 @@ struct Turn Game::receive(std::string userInput)
|
|
|
// add player to game
|
|
|
addPlayer(userInput.substr(3));
|
|
|
ScoreSheet lastPlayer = players.back();
|
|
|
- // send player secret - for now it is only printed below
|
|
|
+ // send player secret -> for now it is only printed below
|
|
|
fprintf(stdout, "Player %s has a secret of: %d",lastPlayer.savedName, lastPlayer.secretNumber);
|
|
|
+ return turnInProgress;
|
|
|
}
|
|
|
// look for the position of a comma in userInput
|
|
|
for(int i = 0;i < userInput.size();i++)
|