本文へ移動

Narabe並べ

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

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

目次

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

OpeningRule型

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

How the first stones go down. Everything after the opening is the variant's business; these only shape the start, to blunt black's first-move advantage.

free: anywhere, any order. pro / longPro: black opens at tengen and black's second stone must leave the central 5×5 (7×7 for long pro). swap: seat one places three stones, seat two picks a colour. swap2: as swap, but seat two may instead add two stones and hand the choice back. rif: the classic renju opening — centre, then inside the 3×3, then inside the 5×5, after which white may swap colours. sakata: the RIF start and swap, and then the fifth stone must land inside the central 7×7. tarannikov: the first five stones must land inside the central 1×1, 3×3, 5×5, 7×7 and 9×9 in turn, and after each of them the other seat may swap.

インポート

import type { OpeningRule } from "@johnmorrisdotca/narabe";

定義

type OpeningRule = "free" | "pro" | "longPro" | "swap" | "swap2" | "rif" | "sakata" | "tarannikov";

例

import type { OpeningRule } from "@johnmorrisdotca/narabe";

const value: OpeningRule = "swap2";
console.log(value);
swap2

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

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

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