tock / ai.tock.shared / Dice

# Dice

`object Dice` (source)

Manage random things.

### Functions

#### choose | Choose randomly an item in a list. `fun <T> choose(list: List<T>): T`
#### index | Return a random index in a Collection. `fun index(col: Collection<*>): Int`
#### newId | Return a new random Id. `fun newId(): String`
#### newInt | Return a random int between 0 and max (excluded). `fun newInt(max: Int): Int`