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).
旼컴컴컴컴컴컴컴컴컴컴컴컴쩡컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴�
쿎hris Roddy �"A tournament, a tournament, a tournament�
퀃apeworm7337@juno.com 쿽f lies. . . offer me solutions, offer me�
쿬hris.roddy@winserver.com쿪lternatives, and I decline!" - REM�
읕컴컴컴컴컴컴컴컴컴컴컴컴좔컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴�