TIB: Weighted Dice


[Prev][Next][Index][Thread]

TIB: Weighted Dice




Instead of using a function like int(6*rand, use int(600*rand, and define
ranges of, say, 50, 75, 100, 125, 150, and 175, and based on those,
assign 1, 2, 3, 4, 5, or 6 (or is it 12 sides? shows you how much I
know).

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³Chris Roddy              ³"A tournament, a tournament, a tournament³
³tapeworm7337@juno.com    ³of lies. . . offer me solutions, offer me³
³chris.roddy@winserver.com³alternatives, and I decline!"       - REM³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ