{"id":31173295,"url":"https://github.com/frankilepro/blokus_ai","last_synced_at":"2026-04-02T01:44:29.233Z","repository":{"id":57415696,"uuid":"249851674","full_name":"frankilepro/blokus_ai","owner":"frankilepro","description":"Rainbow to solve blokus gym env","archived":false,"fork":false,"pushed_at":"2023-02-14T22:10:14.000Z","size":8506,"stargazers_count":7,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-02T13:54:45.108Z","etag":null,"topics":["blokus","deep","learning","rainbow","reinforcement","rl"],"latest_commit_sha":null,"homepage":"","language":"Python","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/frankilepro.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}},"created_at":"2020-03-25T00:45:08.000Z","updated_at":"2025-02-17T11:08:11.000Z","dependencies_parsed_at":"2024-01-12T03:22:52.211Z","dependency_job_id":"43c3770b-34c6-4215-9bb4-a172bef012e7","html_url":"https://github.com/frankilepro/blokus_ai","commit_stats":{"total_commits":183,"total_committers":3,"mean_commits":61.0,"dds":0.3497267759562842,"last_synced_commit":"c5ed83aab50aa91d5f59a2c5a5a5595194b9fe24"},"previous_names":["frankilepro/blokus-ai"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/frankilepro/blokus_ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankilepro%2Fblokus_ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankilepro%2Fblokus_ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankilepro%2Fblokus_ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankilepro%2Fblokus_ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frankilepro","download_url":"https://codeload.github.com/frankilepro/blokus_ai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankilepro%2Fblokus_ai/sbom","scorecard":{"id":409588,"data":{"date":"2025-08-11","repo":{"name":"github.com/frankilepro/blokus_ai","commit":"c5ed83aab50aa91d5f59a2c5a5a5595194b9fe24"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pythonapp.yml:1","Warn: no topLevel permission defined: .github/workflows/pythonpublish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: statements must be separated by \u0026, ; or a newline: .github/workflows/pythonapp.yml:57","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/frankilepro/blokus_ai/pythonapp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/frankilepro/blokus_ai/pythonapp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/frankilepro/blokus_ai/pythonapp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/frankilepro/blokus_ai/pythonapp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/frankilepro/blokus_ai/pythonpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/frankilepro/blokus_ai/pythonpublish.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp.yml:47","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp.yml:48","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp.yml:49","Warn: pipCommand not pinned by hash: .github/workflows/pythonpublish.yml:20","Warn: pipCommand not pinned by hash: .github/workflows/pythonpublish.yml:21","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: GHSA-3749-ghw9-m3mg","Warn: Project is vulnerable to: PYSEC-2022-43015 / GHSA-47fc-vmwq-366v","Warn: Project is vulnerable to: PYSEC-2025-41 / GHSA-53q9-r3pm-6pq6","Warn: Project is vulnerable to: PYSEC-2024-252 / GHSA-5pcm-hx3q-hm94","Warn: Project is vulnerable to: GHSA-887c-mr87-cxwp","Warn: Project is vulnerable to: PYSEC-2024-251 / GHSA-pg7h-5qx3-wjr3","Warn: Project is vulnerable to: PYSEC-2024-250","Warn: Project is vulnerable to: PYSEC-2024-259"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T22:19:13.914Z","repository_id":57415696,"created_at":"2025-08-18T22:19:13.914Z","updated_at":"2025-08-18T22:19:13.914Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"ssl_error","status_checked_at":"2026-04-02T01:43:36.474Z","response_time":53,"last_error":"SSL_read: 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":["blokus","deep","learning","rainbow","reinforcement","rl"],"created_at":"2025-09-19T12:49:47.201Z","updated_at":"2026-04-02T01:44:29.195Z","avatar_url":"https://github.com/frankilepro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blokus-ai\n\n[![Blokus Gym Environment](https://github.com/frankilepro/blokus_ai/workflows/Blokus%20Gym%20Environment/badge.svg)](https://github.com/frankilepro/blokus_ai/actions?query=workflow%3A%22Blokus+Gym+Environment%22)\n[![Upload Blokus Gym Env to PyPi](https://github.com/frankilepro/blokus_ai/workflows/Upload%20Blokus%20Gym%20Env%20to%20PyPi/badge.svg)](https://github.com/frankilepro/blokus_ai/actions?query=workflow%3A%22Upload+Blokus+Gym+Env+to+PyPi%22)\n\n## Install project locally\n\n### From PyPi\n\n```bash\npip install blokus-gym\n```\n\n### From source with Cython\n\nThis will compile the project using Cython, you need to run this every time you make changes to the code\n\n```bash\ngit clone https://github.com/frankilepro/blokus_ai.git\npip install -e blokus_ai\n```\n\nIf you wish to debug or simply not to re-compile at every operation, you can do this:\n\n```bash\ngit add . \u0026\u0026 git commit -m \"commit what is not the .c files\"\ncd blokus_gym \u0026\u0026 git clean -fdx \u0026\u0026 cd ..\n```\n\n## Add a new environment\n\nYou can easily add new configurations by adding another class in the [blokus_gym/envs/blokus_envs.py](blokus_gym/envs/blokus_envs.py) file following the current structure:\n\n```python\nclass BlokusCustomEnv(BlokusEnv):\n    NUMBER_OF_PLAYERS = 3\n    BOARD_SIZE = 10  # This will result in a 10x10 board\n    STATES_FILE = \"states_custom.json\"  # This needs to be set, if not it will take the base class states\n    all_shapes = [shape for shape in get_all_shapes()\n                  if shape.size == 4]  # This will take only the 4 tiles pieces\n    bot_type = CustomPlayer  # Defaults to RandomPlayer if not passed\n```\n\nThen you need to add your new Env to the list in [blokus_gym/envs/\\_\\_init\\_\\_.py](blokus_gym/envs/__init__.py) as well as register your environment in [blokus_gym/\\_\\_init\\_\\_.py](blokus_gym/__init__.py)\n\n### Add a new player\n\nYou can inspire yourself from the other players like [blokus_gym/envs/players/greedy_player.py](blokus_gym/envs/players/greedy_player.py)\n\n```python\nclass CustomPlayer(Player):\n    def do_move(self):\n        return self.sample_move()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankilepro%2Fblokus_ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrankilepro%2Fblokus_ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankilepro%2Fblokus_ai/lists"}