本文へ移動

Korokoroコロコロ

ダイスを組み合わせて振り、ダイス表記を読み取り、正確な確率を調べます。履歴の保存やシードを指定した再現もできます。

「コロコロ」は、小さなものが転がる様子を表す言葉です。 名前について(英語)

目次

リファレンス · ロールと正確な確率

RollerStrings型

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

Every word the tray says, in English and Japanese. A page in another language passes its own table: { ...STRINGS.en, roll: "Lanzar" }. {n} and the other braces are filled in; a table must keep them.

インポート

import type { RollerStrings } from "@johnmorrisdotca/korokoro";

定義

type RollerStrings = {
    dice: string;
    die: string;
    modifier: string;
    keep: string;
    keepAll: string;
    keepHighest: string;
    keepLowest: string;
    notation: string;
    notationHint: string;
    notationBad: string;
    notationCount: string;
    notationSides: string;
    notationBonus: string;
    notationTwice: string;
    notationKeep: string;
    notationReroll: string;
    notationExplode: string;
    notationKinds: string;
    notationMinus: string;
    dieDropped: string;
    dieRerolled: string;
    dieExploded: string;
    chartTail: string;
    soundOn: string;
    soundOff: string;
    pool: string;
    poolSays: string;
    poolHint: string;
    poolSuggested: string;
    add: string;
    choose: string;
    addToRoll: string;
    limitDice: string;
    limitKinds: string;
    takeOne: string;
    clearPool: string;
    clearPoolLabel: string;
    tapAgainHold: string;
    rollRest: string;
    allHeld: string;
    held: string;
    heldBadge: string;
    releaseAll: string;
    oddsHolding: string;
    notationCustom: string;
    notationWeights: string;
    dieLoaded: string;
    loadedBadge: string;
    result: string;
    moreDice: string;
    customTitle: string;
    customHint: string;
    customAdd: string;
    loadedTitle: string;
    loadedNote: string;
    loadedOptimist: string;
    loadedOptimistSays: string;
    loadedFlat: string;
    loadedFlatSays: string;
    loadedOddCouple: string;
    loadedOddCoupleSays: string;
    oddsLoaded: string;
    oddsLoadedMixed: string;
    oddsFaces: string;
    setsTitle: string;
    setName: string;
    setSave: string;
    setNone: string;
    setRoll: string;
    setDelete: string;
    setCopy: string;
    fairnessLopsided: string;
    fairnessCount: string;
    testTitle: string;
    testHint: string;
    testSides: string;
    testBad: string;
    language: string;
    notationTimes: string;
    notationSuccesses: string;
    notationClamp: string;
    notationMarks: string;
    notationLabel: string;
    notationUnique: string;
    notationMath: string;
    notationFraction: string;
    notationZero: string;
    formula: string;
    successes: string;
    dieSuccess: string;
    dieFailure: string;
    dieCritical: string;
    dieFumble: string;
    times: string;
    timesHold: string;
    setSum: string;
    setHighest: string;
    setLowest: string;
    setRolls: string;
    anyAtLeast: string;
    expectedHighest: string;
    games: string;
    gamesNone: string;
    gamesSearch: string;
    gamesNothing: string;
    gamesMissing: string;
    gamesStop: string;
    gamesNote: string;
    familyBoard: string;
    familyDice: string;
    familyTraditional: string;
    familyCards: string;
    familyRoleplaying: string;
    familyHandy: string;
    warFamily: string;
    warName: string;
    warSays: string;
    warYou: string;
    warPlayers: string;
    warDice: string;
    warPlayTo: string;
    warPoints: string;
    warRounds: string;
    warNew: string;
    warRoundLine: string;
    warRoundOf: string;
    warAtStake: string;
    warYourThrow: string;
    warLast: string;
    warTakes: string;
    warWar: string;
    warCalledOff: string;
    warWon: string;
    warOdds: string;
    warYourOdds: string;
    warBeats: string;
    warScores: string;
    warKeep: string;
    outcomes: string;
    turnRoll: string;
    turnOver: string;
    yahtzeeWithin: string;
    crapsPass: string;
    chinchirorinWithin: string;
    tapToRoll: string;
    tapAgain: string;
    rollLabel: string;
    rolling: string;
    dieAlone: string;
    dieAloneRollable: string;
    dieAloneRolled: string;
    total: string;
    critical: string;
    fumble: string;
    allMatch: string;
    luckier: string;
    exactly: string;
    history: string;
    stats: string;
    odds: string;
    noRolls: string;
    clear: string;
    clearSure: string;
    exportTitle: string;
    exportNote: string;
    exportCsv: string;
    exportJson: string;
    exportText: string;
    importJson: string;
    imported: string;
    importNothing: string;
    importBad: string;
    copyLink: string;
    copied: string;
    rolls: string;
    diceThrown: string;
    luck: string;
    luckHint: string;
    hotStreak: string;
    coldStreak: string;
    matches: string;
    nat20: string;
    nat1: string;
    faces: string;
    fairnessWait: string;
    fairnessOk: string;
    fairnessOdd: string;
    totals: string;
    seenVsExpected: string;
    average: string;
    expected: string;
    spread: string;
    mostLikely: string;
    range: string;
    target: string;
    chanceAtLeast: string;
    randomness: string;
    fair: string;
    fairHint: string;
    seeded: string;
    seededHint: string;
    newSeed: string;
    shared: string;
    savedNowhere: string;
};

メンバー

名前型説明
dicestring
diestring
modifierstring
keepstring
keepAllstring
keepHigheststring
keepLoweststring
notationstring
notationHintstring
notationBadstring
notationCountstring
notationSidesstring
notationBonusstring
notationTwicestring
notationKeepstring
notationRerollstring
notationExplodestring
notationKindsstring
notationMinusstring
dieDroppedstring
dieRerolledstring
dieExplodedstring
chartTailstring
soundOnstring
soundOffstring
poolstring
poolSaysstring
poolHintstring
poolSuggestedstring
addstring
choosestring
addToRollstring
limitDicestring
limitKindsstring
takeOnestring
clearPoolstring
clearPoolLabelstring
tapAgainHoldstring
rollReststring
allHeldstring
heldstring
heldBadgestring
releaseAllstring
oddsHoldingstring
notationCustomstring
notationWeightsstring
dieLoadedstring
loadedBadgestring
resultstring
moreDicestring
customTitlestring
customHintstring
customAddstring
loadedTitlestring
loadedNotestring
loadedOptimiststring
loadedOptimistSaysstring
loadedFlatstring
loadedFlatSaysstring
loadedOddCouplestring
loadedOddCoupleSaysstring
oddsLoadedstring
oddsLoadedMixedstring
oddsFacesstring
setsTitlestring
setNamestring
setSavestring
setNonestring
setRollstring
setDeletestring
setCopystring
fairnessLopsidedstring
fairnessCountstring
testTitlestring
testHintstring
testSidesstring
testBadstring
languagestring
notationTimesstring
notationSuccessesstring

Refusals for the rules added in 1.7.0. {part} is the text refused.

notationClampstring
notationMarksstring
notationLabelstring
notationUniquestring

Refusals for the rules added in 1.9.0.

notationMathstring
notationFractionstring
notationZerostring
formulastring

Said where the dice buttons are, when the roll is a formula: they cannot change it.

successesstring

The headline's label on a roll that counts successes, where other rolls say Total.

dieSuccessstring

What became of a die, for a screen reader and a hover: a success, a die that takes one away, a marked die.

dieFailurestring
dieCriticalstring
dieFumblestring
timesstring
timesHoldstring
setSumstring
setHigheststring
setLoweststring
setRollsstring
anyAtLeaststring
expectedHigheststring
gamesstring
gamesNonestring
gamesSearchstring
gamesNothingstring
gamesMissingstring
gamesStopstring
gamesNotestring
familyBoardstring
familyDicestring
familyTraditionalstring
familyCardsstring
familyRoleplayingstring
familyHandystring
warFamilystring
warNamestring
warSaysstring
warYoustring
warPlayersstring
warDicestring
warPlayTostring
warPointsstring
warRoundsstring
warNewstring
warRoundLinestring
warRoundOfstring
warAtStakestring
warYourThrowstring
warLaststring
warTakesstring
warWarstring
warCalledOffstring
warWonstring
warOddsstring
warYourOddsstring
warBeatsstring
warScoresstring
warKeepstring
outcomesstring
turnRollstring
turnOverstring
yahtzeeWithinstring
crapsPassstring
chinchirorinWithinstring
tapToRollstring
tapAgainstring
rollLabelstring
rollingstring
dieAlonestring
dieAloneRollablestring
dieAloneRolledstring
totalstring
criticalstring
fumblestring
allMatchstring
luckierstring
exactlystring
historystring
statsstring
oddsstring
noRollsstring
clearstring
clearSurestring
exportTitlestring

Exporting the history, and bringing a JSON export back in. {n} is how many rolls were added.

exportNotestring
exportCsvstring
exportJsonstring
exportTextstring
importJsonstring
importedstring
importNothingstring
importBadstring
copyLinkstring
copiedstring
rollsstring
diceThrownstring
luckstring
luckHintstring
hotStreakstring
coldStreakstring
matchesstring
nat20string
nat1string
facesstring
fairnessWaitstring
fairnessOkstring
fairnessOddstring
totalsstring
seenVsExpectedstring
averagestring
expectedstring
spreadstring
mostLikelystring
rangestring
targetstring
chanceAtLeaststring
randomnessstring
fairstring
fairHintstring
seededstring
seededHintstring
newSeedstring
sharedstring
savedNowherestring

例

import type { RollerStrings } from "@johnmorrisdotca/korokoro";
import { STRINGS } from "@johnmorrisdotca/korokoro";
const value: RollerStrings = STRINGS.en;
console.log(Object.keys(value).slice(0, 3));
[ 'dice', 'die', 'modifier' ]

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

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

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