Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fortuna/src/machine.ts

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

Classes

Gacha system.

Type Aliases

Data fed to the constructor. The result property holds the result that will be returned after rolling. chance is the weight of the result.