Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.4/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.