本文へ移動

Tenka天下

2〜6人で、シードから始まる世界征服ゲームを遊べます。さいころでの戦い、カード、コンピューターの相手、ゲームの保存に対応します。

「天下」は、天の下に広がる世界を表す言葉です。 名前について(英語)

目次

リファレンス · ブラウザーの卓とSVG

TENKA_STRINGS定数

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

The package's words in each language it speaks: TENKA_STRINGS.en, TENKA_STRINGS.ja.

インポート

import { TENKA_STRINGS } from "@johnmorrisdotca/tenka/ui";

ほかのエクスポート元: @johnmorrisdotca/tenka

定義

const TENKA_STRINGS: Readonly<Record<TenkaLocale, TenkaStrings>> = { en: EN, ja: JA }

メンバー

名前型説明
enTenkaStrings
jaTenkaStrings

例

import { TENKA_STRINGS } from "@johnmorrisdotca/tenka/ui";
console.log(TENKA_STRINGS);
{
  en: {
    embedError: 'The table could not be shown. Check its settings.',
    you: 'You',
    player: 'Player {n}',
    mapLabel: 'Map of the world',
    mapKeys: 'Arrow keys move between territories; Enter or Space taps one.',
    landSay: '{land}, {owner}, armies {n}',
    neutral: 'Neutral',
    lookAt: 'Look at',
    world: 'World',
    europe: 'Europe',
    armiesLabel: 'Armies',
    newGame: 'New game',
    trade: 'Trade cards',
    tradeMust: 'Trade cards (you must)',
    allOn: 'All {n} on {land}',
    attackWithOne: 'Attack with 1 die',
    attackWith: 'Attack with {n} dice',
    blitz: 'Blitz',
    stopAttacking: 'Stop attacking',
    moveIn: 'Move {n} in',
    moveTo: 'Move {n} to {land}',
    endTurn: 'End turn',
    wins: '{name} takes the world.',
    tie: 'A tie between {names}.',
    and: ' and ',
    listComma: ', ',
    sentenceGap: ' ',
    round: 'Round {n} of {of}.',
    thinking: '{name} is playing…',
    setUpSay: '{name}: place an army on one of your territories ({n} left).',
    mustTradeSay: '{name}: five cards or more, so trade a set first.',
    placeOne: '{name}: place 1 army on your territories.',
    placeSay: '{name}: place {n} armies on your territories.',
    attackFrom: '{name}: tap a territory of yours with two armies or more to attack from, or stop attacking.',
    attackTo: '{name}: attacking from {land}. Tap a neighbour to attack.',
    attackReady: '{name}: {from} attacks {to}.',
    occupySay: '{name}: {land} is taken. How many move in?',
    fortifyFrom: '{name}: move armies once between two of your joined territories, or end your turn.',
    fortifyTo: '{name}: moving from {land}. Tap where to.',
    fortifyReady: '{name}: from {from} to {to}.',
    against: 'against',
    rollThrows: ', {n} throws',
    rollLost: ': attacker lost {a}, defender lost {d}',
    rollTook: ', taken',
    dieAttack: "Attacker's die: {n}",
    dieDefend: "Defender's die: {n}",
    counts: '{lands} lands, {armies} armies, {cards} cards',
    noCards: 'No cards in hand ({name}).',
    cardsInHand: 'Cards in hand ({name})',
    wild: 'Wild',
    kindLand: 'Land',
    kindSea: 'Sea',
    kindAir: 'Air',
    card: '{kind}: {land}',
    deckLeft: 'Deck: {n}',
    record: 'Record of the game',
    recordEmpty: 'No moves yet.',
    saveJson: 'Save as JSON',
    saveText: 'Save as text',
    saveCsv: 'Save as CSV',
    load: 'Load a game',
    loaded: 'Game loaded: {n} moves.',
    loadBad: 'That file is not a game of Tenka these rules can replay.',
    logTitle: 'Tenka: {players}; {rounds} rounds; seed {seed}',
    logRound: 'Round {n}',
    logPlace: '{name} places {n} on {land}.',
    logTrade: '{name} trades three cards for {n} armies.',
    logTradeBonus: 'Two more on {land}.',
    logAttack: '{name}: {from} attacks {to}, [{a}] against [{d}]: attacker lost {al}, defender lost {dl}.',
    logBlitz: '{name}: {from} attacks {to} until it is decided, {n} throws: attacker lost {al}, defender lost {dl}.',
    logTook: '{land} is taken.',
    logOut: '{name} is out.',
    logOccupy: '{name} moves {n} in.',
    logEndAttack: '{name} stops attacking.',
    logFortify: '{name} moves {n} from {from} to {to}.',
    logEndTurn: '{name} ends the turn.',
    logCard: '{name} draws a card.',
    logCounted: 'The game is counted after round {n}. Winner: {names}.',
    cNorthAmerica: 'North America',
    cSouthAmerica: 'South America',
    cEurope: 'Europe',
    cAfrica: 'Africa',
    cAsia: 'Asia',
    cAustralia: 'Australia',
    tAlaska: 'Alaska',
    tNorthwestTerritory: 'Northwest Territory',
    tGreenland: 'Greenland',
    tAlberta: 'Alberta',
    tOntario: 'Ontario',
    tQuebec: 'Quebec',
    tWesternUnitedStates: 'Western United States',
    tEasternUnitedStates: 'Eastern United States',
    tCentralAmerica: 'Central America',
    tVenezuela: 'Venezuela',
    tPeru: 'Peru',
    tBrazil: 'Brazil',
    tArgentina: 'Argentina',
    tIceland: 'Iceland',
    tScandinavia: 'Scandinavia',
    tGreatBritain: 'Great Britain',
    tNorthernEurope: 'Northern Europe',
    tWesternEurope: 'Western Europe',
    tSouthernEurope: 'Southern Europe',
    tUkraine: 'Ukraine',
    tNorthAfrica: 'North Africa',
    tEgypt: 'Egypt',
    tEastAfrica: 'East Africa',
    tCongo: 'Congo',
    tSouthAfrica: 'South Africa',
    tMadagascar: 'Madagascar',
    tUral: 'Ural',
    tSiberia: 'Siberia',
    tYakutsk: 'Yakutsk',
    tKamchatka: 'Kamchatka',
    tIrkutsk: 'Irkutsk',
    tMongolia: 'Mongolia',
    tJapan: 'Japan',
    tAfghanistan: 'Afghanistan',
    tChina: 'China',
    tMiddleEast: 'Middle East',
    tIndia: 'India',
    tSiam: 'Siam',
    tIndonesia: 'Indonesia',
    tNewGuinea: 'New Guinea',
    tWesternAustralia: 'Western Australia',
    tEasternAustralia: 'Eastern Australia',
    tWesternRussia: 'Western Russia',
    cBritishIsles: 'Britain and Ireland',
    cScandinavia: 'The Nordic Countries',
    cIberia: 'Iberia',
    cMaghreb: 'The Maghreb',
    cFrance: 'France',
    cGermany: 'Germany and the Low Countries',
    cCentralEurope: 'Central Europe',
    cItaly: 'Italy',
    cBalkans: 'The Balkans and Turkey',
    cBaltic: 'Poland and the Baltic',
    cEasternEurope: 'Eastern Europe',
    tScotland: 'Scotland',
    tEngland: 'England',
    tWales: 'Wales',
    tIreland: 'Ireland',
    tNorway: 'Norway',
    tSweden: 'Sweden',
    tFinland: 'Finland',
    tDenmark: 'Denmark',
    tPortugal: 'Portugal',
    tLeonCastile: 'León-Castile',
    tNavarre: 'Navarre',
    tBarcelona: 'Barcelona',
    tValencia: 'Valencia',
    tGranada: 'Granada',
    tMorocco: 'Morocco',
    tAlgeria: 'Algeria',
    tTunisia: 'Tunisia',
    tNormandy: 'Normandy',
    tBrittany: 'Brittany',
    tFrance: 'France',
    tBurgundy: 'Burgundy',
    tFriesland: 'Friesland',
    tSaxony: 'Saxony',
    tLorraine: 'Lorraine',
    tFranconia: 'Franconia',
    tSwabia: 'Swabia',
    tBavaria: 'Bavaria',
    tBohemia: 'Bohemia',
    tHighlands: 'Highlands',
    tHungary: 'Hungary',
    tLombardy: 'Lombardy',
    tRome: 'Rome',
    tKingdomOfSicily: 'Kingdom of Sicily',
    tSardinia: 'Sardinia',
    tVenice: 'Venice',
    tSerbia: 'Serbia',
    tGreece: 'Greece',
    tBulgaria: 'Bulgaria',
    tTurkey: 'Turkey',
    tPomerania: 'Pomerania',
    tPrussia: 'Prussia',
    tPoland: 'Poland',
    tLithuania: 'Lithuania',
    tEstonia: 'Estonia',
    tNovgorod: 'Republic of Novgorod',
    tSmolensk: 'Smolensk',
    tPolotsk: 'Polotsk',
    tRusland: 'Rusland',
    tGalicia: 'Galicia'
  },
  ja: {
    embedError: 'テーブルを表示できません。設定を確認してください。',
    you: 'あなた',
    player: 'プレイヤー{n}',
    mapLabel: '世界地図',
    mapKeys: '矢印キーで領土を移動し、Enterキーかスペースキーでタップします。',
    landSay: '{land}、{owner}、部隊{n}',
    neutral: '中立',
    lookAt: '表示する地域',
    world: '世界',
    europe: 'ヨーロッパ',
    armiesLabel: '部隊の数',
    newGame: '新しいゲーム',
    trade: 'カードを交換',
    tradeMust: 'カードを交換(必須)',
    allOn: '残りの{n}部隊をすべて{land}に置く',
    attackWithOne: 'ダイス1個で攻撃',
    attackWith: 'ダイス{n}個で攻撃',
    blitz: '決着がつくまで攻撃',
    stopAttacking: '攻撃を終える',
    moveIn: '{n}部隊を進める',
    moveTo: '{n}部隊を{land}へ移動',
    endTurn: '手番を終える',
    wins: '{name}が天下を取りました。',
    tie: '{names}の引き分けです。',
    and: 'と',
    listComma: '、',
    sentenceGap: '',
    round: '第{n}ラウンド(全{of}ラウンド)。',
    thinking: '{name}の手番です…',
    setUpSay: '{name}: 自分の領土に部隊を1つ置いてください(残り{n})。',
    mustTradeSay: '{name}: カードが5枚以上あります。先にセットを交換してください。',
    placeOne: '{name}: 自分の領土に1部隊を置いてください。',
    placeSay: '{name}: 自分の領土に{n}部隊を置いてください。',
    attackFrom: '{name}: 攻撃元にする自分の領土(2部隊以上)をタップするか、攻撃を終えてください。',
    attackTo: '{name}: {land}から攻撃します。攻撃する隣の領土をタップしてください。',
    attackReady: '{name}: {from}から{to}を攻撃します。',
    occupySay: '{name}: {land}を占領しました。何部隊進めますか。',
    fortifyFrom: '{name}: つながっている自分の領土の間で、部隊を一度だけ移動できます。移動しないときは手番を終えてください。',
    fortifyTo: '{name}: {land}から移動します。移動先をタップしてください。',
    fortifyReady: '{name}: {from}から{to}へ。',
    against: '対',
    rollThrows: '、{n}回',
    rollLost: ':攻撃側 −{a}、防御側 −{d}',
    rollTook: '、占領',
    dieAttack: '攻撃側のダイス:{n}',
    dieDefend: '防御側のダイス:{n}',
    counts: '領土{lands}・部隊{armies}・カード{cards}枚',
    noCards: '手札はありません({name})。',
    cardsInHand: '手札({name})',
    wild: 'ワイルド',
    kindLand: '陸',
    kindSea: '海',
    kindAir: '空',
    card: '{kind}:{land}',
    deckLeft: '山札:{n}枚',
    record: 'ゲームの記録',
    recordEmpty: 'まだ手はありません。',
    saveJson: 'JSONで保存',
    saveText: 'テキストで保存',
    saveCsv: 'CSVで保存',
    load: 'ゲームを読み込む',
    loaded: 'ゲームを読み込みました({n}手)。',
    loadBad: 'このファイルは、再現できる天下のゲームではありません。',
    logTitle: '天下: {players}、{rounds}ラウンド、シード {seed}',
    logRound: '第{n}ラウンド',
    logPlace: '{name}が{land}に{n}部隊を置く。',
    logTrade: '{name}がカード3枚を{n}部隊と交換。',
    logTradeBonus: '{land}にさらに2部隊。',
    logAttack: '{name}: {from}が{to}を攻撃、[{a}] 対 [{d}]:攻撃側 −{al}、防御側 −{dl}。',
    logBlitz: '{name}: {from}が{to}を決着がつくまで攻撃({n}回):攻撃側 −{al}、防御側 −{dl}。',
    logTook: '{land}を占領。',
    logOut: '{name}は敗退。',
    logOccupy: '{name}が{n}部隊を進める。',
    logEndAttack: '{name}が攻撃を終える。',
    logFortify: '{name}が{from}から{to}へ{n}部隊を移動。',
    logEndTurn: '{name}が手番を終える。',
    logCard: '{name}がカードを1枚引く。',
    logCounted: '第{n}ラウンド終了で集計。勝者: {names}。',
    cNorthAmerica: '北アメリカ',
    cSouthAmerica: '南アメリカ',
    cEurope: 'ヨーロッパ',
    cAfrica: 'アフリカ',
    cAsia: 'アジア',
    cAustralia: 'オーストラリア',
    tAlaska: 'アラスカ',
    tNorthwestTerritory: 'ノースウェスト準州',
    tGreenland: 'グリーンランド',
    tAlberta: 'アルバータ',
    tOntario: 'オンタリオ',
    tQuebec: 'ケベック',
    tWesternUnitedStates: 'アメリカ西部',
    tEasternUnitedStates: 'アメリカ東部',
    tCentralAmerica: '中央アメリカ',
    tVenezuela: 'ベネズエラ',
    tPeru: 'ペルー',
    tBrazil: 'ブラジル',
    tArgentina: 'アルゼンチン',
    tIceland: 'アイスランド',
    tScandinavia: 'スカンジナビア',
    tGreatBritain: 'グレートブリテン島',
    tNorthernEurope: '北ヨーロッパ',
    tWesternEurope: '西ヨーロッパ',
    tSouthernEurope: '南ヨーロッパ',
    tUkraine: 'ウクライナ',
    tNorthAfrica: '北アフリカ',
    tEgypt: 'エジプト',
    tEastAfrica: '東アフリカ',
    tCongo: 'コンゴ',
    tSouthAfrica: '南アフリカ',
    tMadagascar: 'マダガスカル',
    tUral: 'ウラル',
    tSiberia: 'シベリア',
    tYakutsk: 'ヤクーツク',
    tKamchatka: 'カムチャツカ',
    tIrkutsk: 'イルクーツク',
    tMongolia: 'モンゴル',
    tJapan: '日本',
    tAfghanistan: 'アフガニスタン',
    tChina: '中国',
    tMiddleEast: '中東',
    tIndia: 'インド',
    tSiam: 'シャム',
    tIndonesia: 'インドネシア',
    tNewGuinea: 'ニューギニア',
    tWesternAustralia: 'オーストラリア西部',
    tEasternAustralia: 'オーストラリア東部',
    tWesternRussia: 'ロシア西部',
    cBritishIsles: 'イギリス・アイルランド',
    cScandinavia: '北欧',
    cIberia: 'イベリア',
    cMaghreb: 'マグリブ',
    cFrance: 'フランス',
    cGermany: 'ドイツ・低地諸国',
    cCentralEurope: '中欧',
    cItaly: 'イタリア',
    cBalkans: 'バルカン・トルコ',
    cBaltic: 'ポーランド・バルト',
    cEasternEurope: '東欧',
    tScotland: 'スコットランド',
    tEngland: 'イングランド',
    tWales: 'ウェールズ',
    tIreland: 'アイルランド',
    tNorway: 'ノルウェー',
    tSweden: 'スウェーデン',
    tFinland: 'フィンランド',
    tDenmark: 'デンマーク',
    tPortugal: 'ポルトガル',
    tLeonCastile: 'レオン・カスティーリャ',
    tNavarre: 'ナバラ',
    tBarcelona: 'バルセロナ',
    tValencia: 'バレンシア',
    tGranada: 'グラナダ',
    tMorocco: 'モロッコ',
    tAlgeria: 'アルジェリア',
    tTunisia: 'チュニジア',
    tNormandy: 'ノルマンディー',
    tBrittany: 'ブルターニュ',
    tFrance: 'フランス',
    tBurgundy: 'ブルゴーニュ',
    tFriesland: 'フリースラント',
    tSaxony: 'ザクセン',
    tLorraine: 'ロレーヌ',
    tFranconia: 'フランケン',
    tSwabia: 'シュヴァーベン',
    tBavaria: 'バイエルン',
    tBohemia: 'ボヘミア',
    tHighlands: '高地地方',
    tHungary: 'ハンガリー',
    tLombardy: 'ロンバルディア',
    tRome: 'ローマ',
    tKingdomOfSicily: 'シチリア王国',
    tSardinia: 'サルデーニャ',
    tVenice: 'ヴェネツィア',
    tSerbia: 'セルビア',
    tGreece: 'ギリシャ',
    tBulgaria: 'ブルガリア',
    tTurkey: 'トルコ',
    tPomerania: 'ポメラニア',
    tPrussia: 'プロイセン',
    tPoland: 'ポーランド',
    tLithuania: 'リトアニア',
    tEstonia: 'エストニア',
    tNovgorod: 'ノヴゴロド共和国',
    tSmolensk: 'スモレンスク',
    tPolotsk: 'ポロツク',
    tRusland: 'ルーシ',
    tGalicia: 'ガリツィア'
  }
}

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

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

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