{"id":18407602,"url":"https://github.com/stephenbensley/goosey","last_synced_at":"2025-06-13T04:06:28.023Z","repository":{"id":122389415,"uuid":"529640684","full_name":"stephenbensley/Goosey","owner":"stephenbensley","description":"Goosey is a cribbage AI written in C++.","archived":false,"fork":false,"pushed_at":"2024-10-12T02:00:39.000Z","size":438,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T04:06:27.439Z","etag":null,"topics":["cribbage"],"latest_commit_sha":null,"homepage":"","language":"C++","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/stephenbensley.png","metadata":{"files":{"readme":"README.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}},"created_at":"2022-08-27T16:38:26.000Z","updated_at":"2024-10-12T01:57:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"1cd94fba-b6f8-4fda-9349-236a74264c37","html_url":"https://github.com/stephenbensley/Goosey","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stephenbensley/Goosey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenbensley%2FGoosey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenbensley%2FGoosey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenbensley%2FGoosey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenbensley%2FGoosey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephenbensley","download_url":"https://codeload.github.com/stephenbensley/Goosey/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenbensley%2FGoosey/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259578202,"owners_count":22879213,"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":["cribbage"],"created_at":"2024-11-06T03:14:35.733Z","updated_at":"2025-06-13T04:06:27.653Z","avatar_url":"https://github.com/stephenbensley.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"app-icon.png\" alt=\"icon\" width=\"75\" height=\"75\"\u003e\n\n# Goosey\n\nGoosey is a cribbage AI. It is full-featured, well-tested, and plays a strong game (although I have no practical way to quantify that). However, I believe there is ample room for improvement, so in that sense, it is still a work in progress. \n\n### License\n\nThe source code for this repo has been released under the [MIT License](LICENSE).\n\n### Copyright\n\n© 2022 Stephen E. Bensley\n\n## Building from Source\n\nGoosey was developed with [Xcode](https://developer.apple.com/xcode/), which is freely available from Apple. After installing Xcode and cloning the repo, open the Xcode [project](Goosey.xcodeproj) at the root of the repo. Check out the most recent tag to ensure a stable build.\n\nThe code is entirely standards-compliant C++17, so it should be easy to compile on other platforms.\n\n### Dependencies\n\nNone.\n\n### Targets\n\nThe Xcode project has the following targets:\n\n- Static libraries:\n    - BoardStrategy: Estimates the probability of the dealer winning the game from a given board position. \n    - CardPlayStrategy: Strategy for the pegging portion of a Cribbage game.\n    - DiscardStrategy: Strategy for the discard portion of a Cribbage game.\n    - GameModel: Core logic for playing a game of Cribbage.\n    - Players: Various AIs for playing Cribbage.\n- CopyDataFiles: Copies the various data files to the products directory.\n- gen_file: Command-line tool that generates the various data files. Run without arguments to display usage.\n- play_match: Command-line tool that play matches between various strategies. Run without arguments to display usage.\n- run_tests: Unit tests implemented using [Catch2](https://github.com/catchorg/Catch2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenbensley%2Fgoosey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephenbensley%2Fgoosey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenbensley%2Fgoosey/lists"}