本文へ移動

Narabe並べ

48種類の盤上ゲームを、新しい局面を返す手の操作、合法手の一覧、再生できる棋譜で扱えます。

「並べ」は五目並べの「並べ」。石を並べることを表す言葉です。 名前について(英語)

目次

リファレンス · ルールと棋譜

RULE_VARIANTS定数

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

The stable identifiers for all forty-eight rule variants.

インポート

import { RULE_VARIANTS } from "@johnmorrisdotca/narabe";

定義

const RULE_VARIANTS: { readonly freestyle: "freestyle"; readonly standard: "standard"; readonly renju: "renju"; readonly omok: "omok"; readonly caro: "caro"; readonly ninuki: "ninuki"; readonly connect6: "connect6"; readonly tictactoe: "tictactoe"; readonly trapThree: "trapThree"; readonly dropFour: "dropFour"; readonly twistFive: "twistFive"; readonly twistFour: "twistFour"; readonly squareFour: "squareFour"; readonly ringDrop: "ringDrop"; readonly holeDrop: "holeDrop"; readonly hotDrop: "hotDrop"; readonly clearDrop: "clearDrop"; readonly giveawayDrop: "giveawayDrop"; readonly edgeDrop: "edgeDrop"; readonly dominoFive: "dominoFive"; readonly blockFive: "blockFive"; readonly sannuki: "sannuki"; readonly wormDrop: "wormDrop"; readonly misereFive: "misereFive"; readonly makerBreaker: "makerBreaker"; readonly wildTicTacToe: "wildTicTacToe"; readonly notakto: "notakto"; readonly toroidalFive: "toroidalFive"; readonly obstacleFive: "obstacleFive"; readonly rockfall: "rockfall"; readonly scatteredRocks: "scatteredRocks"; readonly reversi: "reversi"; readonly classicReversi: "classicReversi"; readonly antiReversi: "antiReversi"; readonly miniReversi: "miniReversi"; readonly grandReversi: "grandReversi"; readonly honeycomb: "honeycomb"; readonly halma: "halma"; readonly hex: "hex"; readonly hexFive: "hexFive"; readonly checkers: "checkers"; readonly internationalDraughts: "internationalDraughts"; readonly brazilianDraughts: "brazilianDraughts"; readonly canadianCheckers: "canadianCheckers"; readonly russianDraughts: "russianDraughts"; readonly poolCheckers: "poolCheckers"; readonly chineseCheckers: "chineseCheckers"; readonly go: "go"; } = {
    freestyle: "freestyle",
    standard: "standard",
    renju: "renju",
    omok: "omok",
    caro: "caro",
    ninuki: "ninuki",
    connect6: "connect6",
    tictactoe: "tictactoe",
    trapThree: "trapThree",
    dropFour: "dropFour",
    twistFive: "twistFive",
    twistFour: "twistFour",
    squareFour: "squareFour",
    ringDrop: "ringDrop",
    holeDrop: "holeDrop",
    hotDrop: "hotDrop",
    clearDrop: "clearDrop",
    giveawayDrop: "giveawayDrop",
    edgeDrop: "edgeDrop",
    dominoFive: "dominoFive",
    blockFive: "blockFive",
    sannuki: "sannuki",
    wormDrop: "wormDrop",
    misereFive: "misereFive",
    makerBreaker: "makerBreaker",
    wildTicTacToe: "wildTicTacToe",
    notakto: "notakto",
    toroidalFive: "toroidalFive",
    obstacleFive: "obstacleFive",
    rockfall: "rockfall",
    scatteredRocks: "scatteredRocks",
    reversi: "reversi",
    classicReversi: "classicReversi",
    antiReversi: "antiReversi",
    miniReversi: "miniReversi",
    grandReversi: "grandReversi",
    honeycomb: "honeycomb",
    halma: "halma",
    hex: "hex",
    hexFive: "hexFive",
    checkers: "checkers",
    internationalDraughts: "internationalDraughts",
    brazilianDraughts: "brazilianDraughts",
    canadianCheckers: "canadianCheckers",
    russianDraughts: "russianDraughts",
    poolCheckers: "poolCheckers",
    chineseCheckers: "chineseCheckers",
    go: "go",
} as const satisfies Record<RuleVariant, RuleVariant>

メンバー

名前型説明
freestyle"freestyle"
standard"standard"
renju"renju"
omok"omok"
caro"caro"
ninuki"ninuki"
connect6"connect6"
tictactoe"tictactoe"
trapThree"trapThree"
dropFour"dropFour"
twistFive"twistFive"
twistFour"twistFour"
squareFour"squareFour"
ringDrop"ringDrop"
holeDrop"holeDrop"
hotDrop"hotDrop"
clearDrop"clearDrop"
giveawayDrop"giveawayDrop"
edgeDrop"edgeDrop"
dominoFive"dominoFive"
blockFive"blockFive"
sannuki"sannuki"
wormDrop"wormDrop"
misereFive"misereFive"
makerBreaker"makerBreaker"
wildTicTacToe"wildTicTacToe"
notakto"notakto"
toroidalFive"toroidalFive"
obstacleFive"obstacleFive"
rockfall"rockfall"
scatteredRocks"scatteredRocks"
reversi"reversi"
classicReversi"classicReversi"
antiReversi"antiReversi"
miniReversi"miniReversi"
grandReversi"grandReversi"
honeycomb"honeycomb"
halma"halma"
hex"hex"
hexFive"hexFive"
checkers"checkers"
internationalDraughts"internationalDraughts"
brazilianDraughts"brazilianDraughts"
canadianCheckers"canadianCheckers"
russianDraughts"russianDraughts"
poolCheckers"poolCheckers"
chineseCheckers"chineseCheckers"
go"go"

例

import { RULE_VARIANTS } from "@johnmorrisdotca/narabe";
console.log(RULE_VARIANTS);
{
  freestyle: 'freestyle',
  standard: 'standard',
  renju: 'renju',
  omok: 'omok',
  caro: 'caro',
  ninuki: 'ninuki',
  connect6: 'connect6',
  tictactoe: 'tictactoe',
  trapThree: 'trapThree',
  dropFour: 'dropFour',
  twistFive: 'twistFive',
  twistFour: 'twistFour',
  squareFour: 'squareFour',
  ringDrop: 'ringDrop',
  holeDrop: 'holeDrop',
  hotDrop: 'hotDrop',
  clearDrop: 'clearDrop',
  giveawayDrop: 'giveawayDrop',
  edgeDrop: 'edgeDrop',
  dominoFive: 'dominoFive',
  blockFive: 'blockFive',
  sannuki: 'sannuki',
  wormDrop: 'wormDrop',
  misereFive: 'misereFive',
  makerBreaker: 'makerBreaker',
  wildTicTacToe: 'wildTicTacToe',
  notakto: 'notakto',
  toroidalFive: 'toroidalFive',
  obstacleFive: 'obstacleFive',
  rockfall: 'rockfall',
  scatteredRocks: 'scatteredRocks',
  reversi: 'reversi',
  classicReversi: 'classicReversi',
  antiReversi: 'antiReversi',
  miniReversi: 'miniReversi',
  grandReversi: 'grandReversi',
  honeycomb: 'honeycomb',
  halma: 'halma',
  hex: 'hex',
  hexFive: 'hexFive',
  checkers: 'checkers',
  internationalDraughts: 'internationalDraughts',
  brazilianDraughts: 'brazilianDraughts',
  canadianCheckers: 'canadianCheckers',
  russianDraughts: 'russianDraughts',
  poolCheckers: 'poolCheckers',
  chineseCheckers: 'chineseCheckers',
  go: 'go'
}

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

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

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