generateRipple関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Builds a seeded block-room family and accepts it only after a bounded uniqueness proof.
インポート
import { generateRipple } from "@johnmorrisdotca/kazu/ripple";
ほかのエクスポート元: @johnmorrisdotca/kazu
定義
function generateRipple(width?: number, height?: number, seed?: number): RipplePuzzle
引数
| 名前 | 型 | 説明 |
|---|---|---|
width (省略可) | number | The supported board width in cells. |
height (省略可) | number | The supported board height in cells. |
seed (省略可) | number | The reproducible native puzzle seed. |
戻り値
RipplePuzzle
Builds a seeded block-room family and accepts it only after a bounded uniqueness proof.
例
import { generateRipple } from "@johnmorrisdotca/kazu/ripple";
console.log(generateRipple(9,9,42));この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。