public IEnumerable <IDomainEvent> Answer(string playerId, string answer) { CheckPlayable(); CheckPlayerTurn(playerId); yield return(CurrentPlayer.Answer(answer)); yield return(NextPlayerTurn()); }
internal bool Answer(int playerId, string answer) { CheckPlayable(); CheckPlayerTurn(playerId); var goodAnswer = CurrentPlayer.Answer(answer); NextPlayerTurn(); return(goodAnswer); }