public bool ShouldBeReleasedFromPrison() { if (GetOutOfJailFreeCardCount > 0) { GetOutOfJailFreeCardCount -= 1; return(true); } return(RollsInPrison.Count == 3 || RollsInPrison.Last().IsADouble()); }
public void ReleaseFromPrison() { Imprisoned = false; MoveForward(RollsInPrison.Last().TotalValue()); RollsInPrison.Clear(); }
public void RollInPrison() { var roll = new DiceRoll(_random).Roll(); RollsInPrison.Add(roll); }