Skip to the content

Kumimoji組み文字

Build crosswords from seeded English or Japanese tile bags, alone or at a shared table.

Kumimoji means assembled characters in Japanese. About the name

Contents

Reference · Rules, tiles and records

liftToHandfunction

A tile on the table back to the end of the hand.

Import it

import { liftToHand } from "@johnmorrisdotca/kumimoji";

Definition

function liftToHand(play: TilePlay, square: string): TilePlay

Parameters

NameTypeDescription
playTilePlay

The current immutable solo-game progress.

squarestring

The row,column square name.

Returns

TilePlay

A tile on the table back to the end of the hand.

Examples

import { deal, liftToHand, placeFromHand } from "@johnmorrisdotca/kumimoji";

const laid = placeFromHand(deal("catdog",3),0,"0,0");
console.log(liftToHand(laid,"0,0").hand);
[ 'a', 't', 'c' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kumimoji 1.6.0.