partyTilesNeeded関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The tiles a bag must hold for this many players: a hand each and one round of draws.
インポート
import { partyTilesNeeded } from "@johnmorrisdotca/kumimoji";
定義
function partyTilesNeeded(players: number, hand: number): number
引数
| 名前 | 型 | 説明 |
|---|---|---|
players | number | The requested player count or current player rows. |
hand | number | The hand size or tile codes, as declared by the function signature. |
戻り値
number
The tiles a bag must hold for this many players: a hand each and one round of draws.
例
import { partyTilesNeeded } from "@johnmorrisdotca/kumimoji";
console.log(partyTilesNeeded(2,3));8出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。