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