Skip to the content

Narabe並べ

Play forty-eight abstract board games through immutable moves, legal choices and replayable records.

Narabe means arranging in Japanese, as in gomoku-narabe: five in a row. About the name

Contents

Reference · Rules and records

columnLetterfunction

Column letter, left to right: A, B, C ... with I skipped as on a go board.

Import it

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

Definition

function columnLetter(col: number): string

Parameters

NameTypeDescription
colnumber

The zero-based column.

Returns

string

Column letter, left to right: A, B, C ... with I skipped as on a go board.

Examples

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

console.log(columnLetter(8));
J

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/narabe 1.3.0.