public void Strike(Player player) { if (InterLocked.GetBlackCoins() <= 1) { throw new NoCoinException(Constants.Exceptions.Messages.NoCoins); } player.Points += 2; }
public void Strike(Player player) { if (CarromBoard.RedCoins == 0) { throw new NoRedCoinException(Constants.Exceptions.Messages.NoRedCoin); } player.Points += 3; InterLocked.DecrementRedCoins(); }