{"id":51144055,"url":"https://github.com/nekobato/solitaire","last_synced_at":"2026-06-26T01:30:21.394Z","repository":{"id":334644661,"uuid":"1138724088","full_name":"nekobato/solitaire","owner":"nekobato","description":"TUI Solitire made from Node.js","archived":false,"fork":false,"pushed_at":"2026-05-13T07:42:31.000Z","size":128,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-13T09:34:18.251Z","etag":null,"topics":["game","nodejs","solitaire","tui"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@nekobato/solitaire","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nekobato.png","metadata":{"files":{"readme":"README.ja.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-21T03:18:57.000Z","updated_at":"2026-05-13T07:41:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nekobato/solitaire","commit_stats":null,"previous_names":["nekobato/solitaire"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nekobato/solitaire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekobato%2Fsolitaire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekobato%2Fsolitaire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekobato%2Fsolitaire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekobato%2Fsolitaire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nekobato","download_url":"https://codeload.github.com/nekobato/solitaire/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekobato%2Fsolitaire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34799570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","nodejs","solitaire","tui"],"created_at":"2026-06-26T01:30:19.563Z","updated_at":"2026-06-26T01:30:21.318Z","avatar_url":"https://github.com/nekobato.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @nekobato/solitaire\n\nターミナルで遊べる TUI ソリティアです。クロンダイクとフリーセルに対応しています。\n\n```sh\n# クロンダイク\nnpx @nekobato/solitaire\n```\n\n\u003cimg width=\"720\" height=\"480\" alt=\"klondike\" src=\"https://github.com/user-attachments/assets/7273e012-fa36-4af6-a396-18b0efac0a34\" /\u003e\n\n```sh\n# フリーセル\nnpx @nekobato/solitaire --game freecell\n```\n\n\u003cimg width=\"720\" height=\"460\" alt=\"freecell\" src=\"https://github.com/user-attachments/assets/0f33987a-d4a1-4498-8465-42ecee4d6eb2\" /\u003e\n\n## 概要\n\n- Node.js \u003e= 18 が必要です\n- 端末 UI は blessed を使用しています\n- シード指定で同じシャッフルを再現できます\n- 色テーマやコンパクト表示に対応しています\n\n## 使い方\n\n### 実行\n\n```sh\nnpx @nekobato/solitaire\n```\n\nローカルで実行する場合:\n\n```sh\ngit clone https://github.com/nekobato/solitaire-cli.git\nnpm install\nnpm run start\n```\n\n### コンパクトモード\n\nオプション `--compact` を付けるとコンパクト表示になります。\n\n\u003cimg width=\"720\" height=\"460\" alt=\"klondike_compact\" src=\"https://github.com/user-attachments/assets/2a00f6da-65c2-4042-980a-e808f7c7357f\" /\u003e\n\u003cimg width=\"720\" height=\"460\" alt=\"freecell_compact\" src=\"https://github.com/user-attachments/assets/6fb18d9a-43b6-4310-ac4d-f62a8bccdbe4\" /\u003e\n\n### オプション\n\n`--help` で最新のオプション一覧とテーマ名を確認できます。\n\n```sh\nnpx @nekobato/solitaire --help\n```\n\n| オプション                    | 説明                                                 |\n| ----------------------------- | ---------------------------------------------------- |\n| `--game \u003cklondike\\|freecell\u003e` | ゲーム種別を選択します（既定: klondike）             |\n| `--draw \u003c1\\|3\u003e`               | 山札からの枚数を指定します（klondike のみ、既定: 1） |\n| `--seed \u003cnumber\u003e`             | シャッフルのシードを指定します                       |\n| `--no-color`                  | ANSI カラーを無効化します                            |\n| `--compact`                   | コンパクトなカード表示にします                       |\n| `--theme \u003cname\u003e`              | 色テーマを指定します（`--help` に一覧を表示）        |\n| `--help, -h`                  | ヘルプを表示します                                   |\n| `--version, -v`               | バージョンを表示します                               |\n| `--smoke`                     | 簡易スモークテストを実行して終了します               |\n\n### 例\n\n```sh\n# フリーセルを起動\nnpx @nekobato/solitaire --game freecell\n\n# シードを固定してクロンダイクを 3 枚引きで起動\nnpx @nekobato/solitaire --seed 42 --draw 3\n```\n\n## コントリビュートの仕方\n\n1. リポジトリを fork してブランチを作成します\n2. 依存関係をインストールします\n3. 変更を加え、整形とテストを実行します\n\n```sh\nnpm install\nnpm run format\nnpm run test\n```\n\n## ライセンス\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekobato%2Fsolitaire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnekobato%2Fsolitaire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekobato%2Fsolitaire/lists"}