Skip to Main Content

page_parts

Games

Card
Specifc card from a deck of 52 cards.
Function name(s):
cardgames_random.r_cointoss
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "Card": {
            "r_cointoss": "tails"
        }
}
Card suit
One of the 4 suits in a deck of cards.
Function name(s):
card_suitgames_random.r_cardsuit
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "Card suit": {
            "r_cardsuit": "clubs"
        }
}
Coin toss
A toss of a coin.
Function name(s):
coin_tossgames_random.r_cointoss
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "Coin toss": {
            "r_cointoss": "heads"
        }
}
Dice roll
A roll of a dice.
Function name(s):
dice_rollgames_random.r_diceroll
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
dicesides Number Sides of the Dice
Example output:
{
    "Dice roll": {
            "r_diceroll": "5"
        }
}

Anchor Points

On this page

  • Card
  • Card suit
  • Coin toss
  • Dice roll