gdx.rand
get-rand-weighted-item
(get-rand-weighted-item weights)
given a sequence of items and their weight, returns a weighted random item. for example {:a 5 :b 1} returns b only in about 1 of 6 cases
high-weighted
(high-weighted x)
for values of x 0-1 returns y values 0-1 with higher value of y than a linear function
percent-chance
(percent-chance perc random)
(percent-chance perc)
perc is number between 0 and 100.
rand-int-between
(rand-int-between [lower upper])
(rand-int-between lower upper)
returns a random integer between lower and upper bounds inclusive.