{"id":16930306,"url":"https://github.com/itsamirhn/rookpoly","last_synced_at":"2025-06-10T15:34:35.606Z","repository":{"id":108777995,"uuid":"480072106","full_name":"itsamirhn/RookPoly","owner":"itsamirhn","description":"Recursive tool for calculating rook polynomial","archived":false,"fork":false,"pushed_at":"2024-04-06T22:01:45.000Z","size":53,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T19:59:33.225Z","etag":null,"topics":["combinatorics","polynomial","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/itsamirhn.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}},"created_at":"2022-04-10T16:18:45.000Z","updated_at":"2024-06-05T18:17:03.000Z","dependencies_parsed_at":"2023-06-05T00:45:20.411Z","dependency_job_id":null,"html_url":"https://github.com/itsamirhn/RookPoly","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/itsamirhn%2FRookPoly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsamirhn%2FRookPoly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsamirhn%2FRookPoly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsamirhn%2FRookPoly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsamirhn","download_url":"https://codeload.github.com/itsamirhn/RookPoly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsamirhn%2FRookPoly/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259102256,"owners_count":22805441,"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":["combinatorics","polynomial","python"],"created_at":"2024-10-13T20:41:22.469Z","updated_at":"2025-06-10T15:34:35.572Z","avatar_url":"https://github.com/itsamirhn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RookPoly\n\nSimple recursive tool for finding [Rook Polynomial](https://en.m.wikipedia.org/wiki/Rook_polynomial)\n\nBe aware that recursion is not efficient enough, and it's using random choices. So maybe it gets slow for large numbers.\n\n## Install\nJust clone the project:\n\n```shell\n$ git clone https://github.com/itsamirhn/RookPoly.git\n\n$ cd RookPoly\n```\n\n## Usage\n\nRun the main program:\n```shell\n$ python3 main.py\n```\n\nFor example, for a board like this:\n\n\u003cimg alt=\"Sample Board\" height=\"150\" src=\"https://github.com/itsamirhn/RookPoly/blob/master/sample.png?raw=true\" width=\"150\"/\u003e\n\nUse the following input to find the rook polynomial:\n\n```shell\nEnter numberEnter number of rows: 5\n\n00001\n01010\n01100\n10010\n00000\n```\n* `0`: Rook can be placed in this place\n* `1`: Rook can't be placed here\n\nSample output for this example:\n```\n24X^5 + 164X^4 + 226X^3 + 104X^2 + 18X + 1\n```\n\n## Tests\nTests, instructions for running them and test report can be found in [tests](tests) folder.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsamirhn%2Frookpoly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsamirhn%2Frookpoly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsamirhn%2Frookpoly/lists"}