dwhiteplume / BagOfDice

PowerShell library of dice rolling functionaility.
0 stars 0 forks source link

``Get-BoDDiceRolls`` needs to support Fudge and Coin Flip functionality #5

Open dwhiteplume opened 1 year ago

dwhiteplume commented 1 year ago

Use parameter sets:

[CmdletBinding(DefaultParameterSetName = ‘Numbers’)]
param(
    [Parameter(
        Mandatory = $true,
        ParameterSetName = ‘Numbers
        HelpMessage = ‘’,
        Position = 0
    )]
    [int32]$Sides
)

So, make Numbers, Fudge, and Coin.

How do we handle multiple coin flips? Mostly trues means true and vice versa?