本文へ移動

Kumimoji組み文字

シードから配った英字やかなのタイルで、ひとりでも複数人の卓でも、単語を組み合わせて遊べます。

「組み文字」は文字を組み合わせることを表す言葉です。 名前について(英語)

目次

リファレンス · ルール・タイル・記録

TABLE定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

HOW THE TABLE IS LOOKED AT: which squares are shown, how big a tile is drawn and where. Pure, and apart from the game (play.ts): the tiles are where the player put them whatever the view, and a view is a function of the tiles, the screen and the player's own zooming and panning.

John, 2026-09-26: no board — "literally there is no board in the real world game." The table shown is the tiles' own extent plus a margin all round, so there is always room to build outward, and it zooms to fit the crossword: big tiles for a first word, smaller as the grid spreads, never smaller than a thumb can press (TABLE.tileLeast). Past that the table pans instead.

インポート

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

定義

const TABLE: { readonly margin: 2; readonly tileLeast: 32; readonly zoomLeast: 12; readonly tileMost: 56; readonly growsFrom: 544; readonly zoomMost: 88; readonly edge: 36; readonly edgeStep: 8; readonly edgeDwellMs: 350; } = {
    margin: 2,
    tileLeast: 32,
    zoomLeast: 12,
    tileMost: 56,
    growsFrom: 544,
    zoomMost: 88,
    edge: 36,
    edgeStep: 8,
    edgeDwellMs: 350,
} as const

メンバー

名前型説明
margin2

Empty squares shown beyond the tiles on every side.

tileLeast32

The smallest a tile is drawn, in CSS pixels: a comfortable thumb.

zoomLeast12

The smallest a player may zoom a tile to by hand, to see a big crossword whole: too small to press, and not meant to be (John, 2026-09-28: "I would like to zoom out even further"). Fit never goes below tileLeast.

tileMost56

The largest a fitted tile is drawn: a first word does not fill a desk.

growsFrom544

The shorter side of a table past which tileMost grows with it (fittedMost): the Regular desk table's height, 34rem. No phone's or tablet's table is taller or wider across its shorter side, so none changes; only a table the player made bigger with the board size chooser (BoardScale) grows its squares, in proportion to the table everybody had.

zoomMost88

The largest a player may zoom a tile to by hand.

edge36

How near an edge of the table a dragged tile starts it panning, and how fast, in pixels a frame.

edgeStep8
edgeDwellMs350

How long a dragged tile must stay near an edge before the table pans: crossing an edge on the way in is not asking to pan.

例

import { TABLE } from "@johnmorrisdotca/kumimoji";
console.log(TABLE);
{
  margin: 2,
  tileLeast: 32,
  zoomLeast: 12,
  tileMost: 56,
  growsFrom: 544,
  zoomMost: 88,
  edge: 36,
  edgeStep: 8,
  edgeDwellMs: 350
}

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/kumimoji 1.6.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。