Ejemplo n.º 1
0
 internal bool IsScoredPlayer(PlayerId playerId) => _id.Equals(playerId);
Ejemplo n.º 2
0
 public TheGame(PlayerId firstPlayer, PlayerId secondPlayer)
 {
     _firstPlayer  = new Player(firstPlayer);
     _secondPlayer = new Player(secondPlayer);
 }
Ejemplo n.º 3
0
 public Player(PlayerId id)
 {
     _id          = id;
     ScoredPoints = 0;
 }