{"id":23187543,"url":"https://github.com/ncaq/poker","last_synced_at":"2025-04-05T05:12:48.840Z","repository":{"id":151198099,"uuid":"81700311","full_name":"ncaq/poker","owner":"ncaq","description":"コマンドライン用ポーカー","archived":false,"fork":false,"pushed_at":"2017-02-12T03:29:45.000Z","size":13398,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T13:12:08.726Z","etag":null,"topics":["console","cpp","poker"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ncaq.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-02-12T03:29:19.000Z","updated_at":"2023-03-16T08:41:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"a98b5859-703d-47a2-84a4-3a511fd81578","html_url":"https://github.com/ncaq/poker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncaq%2Fpoker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncaq%2Fpoker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncaq%2Fpoker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncaq%2Fpoker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncaq","download_url":"https://codeload.github.com/ncaq/poker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289429,"owners_count":20914464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["console","cpp","poker"],"created_at":"2024-12-18T10:19:42.368Z","updated_at":"2025-04-05T05:12:48.834Z","avatar_url":"https://github.com/ncaq.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# readme\n\n# 詳細なドキュメント\n\nhtml/index.htmlにdoxygenのドキュメントがあります.\nここにそれぞれの関数の解説を書くのは勘弁してください.\n\n# 遊び方\n\n## 起動方法\n\n### Windows\n\n**cygwinが必要です.**\n\npoker.exeをmintty(cygwinのターミナルエミュレータ)で実行してください.\nおそらくcmd.exe(コマンドプロンプト)では動きません.\ncygwinのバージョンによっては動かない可能性があります.\n\nビルド出来れば確実に動きます.\n\n### GNU/Linux\n\npoker.elfを実行.\n\n## 操作方法\n\n* 左右キーでカーソル移動\n* 上キーでカード選択\n* 下キーで選択決定\n\n# ゲームの流れ\n\n* 双方の初期チップが **100** 配られる\n* 双方にカードが5枚配られる\n* 双方は配られた時点でチップを **15** ベットする\n* 双方は任意のカードを交換することが出来る\n* 双方は交換した後,チップを追加出来る(0 \u003c= 追加チップ \u003c= **20**)\n* (プレイヤーの賭け金 \u003c AIの賭け金)なら,プレイヤーは降りるか受けるかを選択する\n* 降りる場合,プレイヤーはAIに自分が賭けた金額を払う\n* 受ける場合,プレイヤーはAIの賭け金と同額,足りない場合は所持金の残額全てを賭ける\n* (プレイヤーの賭け金 \u003e AIの賭け金)なら,AIは勝手に判断する\n* 勝ったほうがチップを全て取得する\n* 3ゲームするか,どちらかのチップがなくなったら終了\n* 終了時にAIよりチップ数が多ければ,ゲームに勝利する\n\n# ビルド\n\n## 必要なもの\n\n* \u003e=gcc-4.8.3\n* GNUツール(cygwinで揃う)(make, find, xargs, sed ..)\n\n## 手順\n\n普通にmakeでコンパイルできます.\n\n1. cygwin terminal(mintty)で **cd** をして,このディレクトリに移動する\n2. makeコマンドを実行\n\n## library\n\n標準ライブラリの範囲に何とか収まらせました.\ncygwinでコンパイルしているので,GPLでライセンスされてるdllをリンクしていますが,cygwinには例外条項があるはずなので,多分GPLにはなってないはずです.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncaq%2Fpoker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncaq%2Fpoker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncaq%2Fpoker/lists"}