{"id":37180700,"url":"https://github.com/rangzen/carbonplayer","last_synced_at":"2026-01-14T21:00:06.536Z","repository":{"id":136331541,"uuid":"448578718","full_name":"rangzen/carbonplayer","owner":"rangzen","description":"Framework for game simulation with decision and genetic algorithms.","archived":false,"fork":false,"pushed_at":"2023-09-01T22:15:12.000Z","size":113,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T03:29:58.432Z","etag":null,"topics":["boardgame","go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rangzen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-01-16T14:32:06.000Z","updated_at":"2025-06-10T10:53:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"1923bda2-5244-45f9-b324-1d8bd6d01002","html_url":"https://github.com/rangzen/carbonplayer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rangzen/carbonplayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rangzen%2Fcarbonplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rangzen%2Fcarbonplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rangzen%2Fcarbonplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rangzen%2Fcarbonplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rangzen","download_url":"https://codeload.github.com/rangzen/carbonplayer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rangzen%2Fcarbonplayer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["boardgame","go"],"created_at":"2026-01-14T21:00:05.639Z","updated_at":"2026-01-14T21:00:06.496Z","avatar_url":"https://github.com/rangzen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Carbon Player Framework\n\nThe Carbon Player Framework is a personal tool for ideas exploration about 2 players board games simulation with some decision algorithm like minimax and genetic algorithm.  \nCurrently, the GA part is **not** in this project, I have to backport it from a private repository about Santorini.\n\nPlease use it for testing and fun.  \nEven if it's not intended to be a professional thing (it's a personal toy), I still value remarks on quality or good practices.\nPlease contact me, or create an issue, for any subject.\n\n## Features\n\n### minimax\n\nActually, the main algorithm for choosing the next move is [minimax](https://en.wikipedia.org/wiki/Minimax) \n\n### Genetic Algorithm\n\nThe GA part will be backported from a previous Santorini implementation.\n\n## Games\n\n### Tic Tac Toe\n\nImplemented to test minimax implementation.  \n\nThere is only two CLI tools, one to play against CP, one to watch two CP play against each other.\n\n### Santorini\n\nOne of my favourite game. The first implementation was with GA because I wanted to find which metrics influence the game.\n\nYou can use an HTML/SVG GUI with the REST API or a CLI tool to test the actual Carbon Player.  \nSpoiler: he is dumb, but I already sometimes lose…\n\nCheck santorini-rest-api example for a Netlify version that you can use with AWS Lambda.\n\n## Limitations in simulated games\n\n### 2 players only\n\nYou can simulate chess or tic-tac-toe, and 2 players version of Poker.\n\nYou **cannot** simulate “Incan Gold” for example. This is due to the actual minimax algorithm implementation.\n\n## Road map\n\n* [ ] Control Max Plies value and then update interfaces with error return.\n* [ ] Context to cancel scoring with a time limit.\n* [ ] Test memoization of Nodes.\n* [ ] Having an HTML GUI for Santorini with the REST API Server.\n* [ ] Implement a Decision for alpha-beta pruning.\n* [ ] Re implement Mutation, Tournament, etc. for GA Player (already done for Santorini in another project).\n* [ ] Once Interfaces are stable, extract each game to theirs own repositories.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frangzen%2Fcarbonplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frangzen%2Fcarbonplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frangzen%2Fcarbonplayer/lists"}