RULE_VARIANTSconstant
The stable identifiers for all forty-eight rule variants.
Import it
import { RULE_VARIANTS } from "@johnmorrisdotca/narabe";
Definition
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>
Members
| Name | Type | Description |
|---|---|---|
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" |
Examples
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'
}What it prints (run when this page was built)