Skip to main content
Module

x/fortuna/src/coin.ts

A TypeScript module for random events and gacha.
Latest
import * as fortuna from "https://deno.land/x/fortuna@v4.1.3/src/coin.ts";

Functions

Toss n unbiased coins (50% chance of head / tail). A biased coin can be implemented using GachaMachine. Do not toss more than 62 coins at once.