コード例 #1
0
 internal void SetChoice(CoinFace face)
 => Choice = face;
コード例 #2
0
 private void ChooseCoinFace()
 => Choice = ChoiceResult() ? Coin.Heads : Coin.Tails;
コード例 #3
0
 public Player(string name, Player?rival = null)
 {
     Name   = name;
     Choice = GetOppositeChoice(rival);
 }