本文へ移動

Kotoba言葉

必要な単語一覧だけを読み込み、重複する文字を正しく判定し、日替わりやシード付きの単語ゲームを遊べます。

「Kotoba」は「言葉」です。 名前について(英語)

目次

リファレンス · ポップカルチャーの回答

POP_GUESSES定数

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

POP GOMOJI'S DICTIONARY GUESSES AT THREE AND SEVEN LETTERS, the lengths Gomoji's English lists do not have. Written by scripts/word-lists-pop.mjs from SCOWL 2020.12.07 (http://wordlist.aspell.net/), read 2026-09-26: sizes 10–70, English and American spellings, as words.en.data.ts is. Fetched only when a three- or seven-letter Pop Gomoji is played (loadPopGuesses). Never edited by hand; run the script again instead.

SCOWL's notice, which its licence asks to travel with the lists:

The collective work is Copyright 2000-2018 by Kevin Atkinson as well as any of the copyrights mentioned below:

Copyright 2000-2018 by Kevin Atkinson

Permission to use, copy, modify, distribute and sell these word lists, the associated scripts, the output created from the scripts, and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Kevin Atkinson makes no representations about the suitability of this array for any purpose. It is provided "as is" without express or implied warranty.

インポート

import { POP_GUESSES } from "@johnmorrisdotca/kotoba/pop-guesses";

定義

const POP_GUESSES: Record<number, string>

例

import { POP_GUESSES } from "@johnmorrisdotca/kotoba/pop-guesses";
console.log(Object.keys(POP_GUESSES));
[ '3', '7' ]

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

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

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