Example #1
0
 private void RollBtn_Click(object sender, EventArgs e)
 {
     if (_player is DicePlayer)
     {
         var pl = _player as DicePlayer;
         Roll_Result.Text = _gameService.Roll(pl).ToString();
     }
 }
Example #2
0
        public void DicePlayer_Can_Roll()
        {
            var result = _deckersMeeting.Roll(_dicePlayerWithFixedChances);

            Assert.IsTrue(result > 0);
        }