Dice

trait Dice

All dice rolls are from value 1 to N inclusive. Like a dice.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def roll: Int
def roll(sides: Int): Int
def rollAlphaNumeric(length: Int): String
def rollAlphaNumeric: String
def rollDouble: Double
def rollFloat: Float
def rollFromZero: Int
def rollFromZero(sides: Int): Int
def shuffle[A](items: List[A]): List[A]

Concrete methods

def rollBoolean: Boolean
override def toString: String
Definition Classes
Any

Abstract fields

val seed: Long