UNPKG

@haelp/teto

Version:

A typescript-based controllable TETR.IO client.

8 lines (6 loc) 221 B
import { RNG } from "../../utils"; import { Mino } from "../types"; export const bag7 = (seed: number) => { const gen = new RNG(seed); return () => gen.shuffleArray(["z", "l", "o", "s", "i", "j", "t"] as Mino[]); };