Untitled

Anonymous
plain_text
09/12/2024 2:34 AM
280 B
14
Indexable



    public static int RepeatDice(int repeatCount, int dice)
{
    Random rnd = new Random();
    int ret = 0;
    for (int i = 0; i < repeatCount; i++)
        ret = ret + rnd.Next(1,dice);
    return ret;
}
Editor is loading...
Leave a Comment