Skip to the content

Toranpuトランプ

Use a deck, play eleven games with computers, solve a solitaire, or display cards in your own design.

Toranpu is Japanese for playing cards. About the name

Contents

Reference · Klondike

dealOfSeedfunction

The deal of a seed: the site's one shuffle (shuffledDeck), written down.

Import it

import { dealOfSeed } from "@johnmorrisdotca/toranpu/klondike";

Also exported from: @johnmorrisdotca/toranpu/freecell

Definition

function dealOfSeed(seed: number): string

Parameters

NameTypeDescription
seednumber

The numeric seed that reproduces the same shuffle or deal.

Returns

string

The deal of a seed: the site's one shuffle (shuffledDeck), written down.

Examples

import { dealOfSeed } from "@johnmorrisdotca/toranpu/klondike";

console.log(dealOfSeed(42));
pvOZziGxjrXCNQoybFwJnDstTEelhRBaPAVuSHLdkKUmcMYIgqWf

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/toranpu 2.15.0.