{"id":17794129,"url":"https://github.com/martgro/picross","last_synced_at":"2025-04-02T02:20:56.003Z","repository":{"id":104020164,"uuid":"42360512","full_name":"MartGro/PiCross","owner":"MartGro","description":"Command line solver for quadratic PiCross puzzles written in Python","archived":false,"fork":false,"pushed_at":"2015-09-14T16:45:31.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T17:19:28.071Z","etag":null,"topics":[],"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/MartGro.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}},"created_at":"2015-09-12T14:48:47.000Z","updated_at":"2015-09-16T10:33:48.000Z","dependencies_parsed_at":"2023-03-04T00:40:57.793Z","dependency_job_id":null,"html_url":"https://github.com/MartGro/PiCross","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/MartGro%2FPiCross","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartGro%2FPiCross/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartGro%2FPiCross/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartGro%2FPiCross/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartGro","download_url":"https://codeload.github.com/MartGro/PiCross/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741293,"owners_count":20826101,"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":[],"created_at":"2024-10-27T11:15:14.042Z","updated_at":"2025-04-02T02:20:55.971Z","avatar_url":"https://github.com/MartGro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"View this readme in an editor with a interface large enough to not mess up the layout; it looks horrible online...\nThis solver needs the bitarray package to be installed.\nWith pip (Pip Installs Python) installed:\nsudo pip install bitarray \n\n\n# PiCross\nThis is a command-line solver for PiCross puzzles. Random puzzles can be obtained from picross.net.\nIt is operated by changing the GameConfiguration.py file, the GameConfiguration.txt file is currently useless.\n\nHOWTO:\nSet the variables in the GameConfiguration file according to the PiCross you want to solve.\n\ne.g.:\nside_len=6                                       \nrows=[(5,),(6,),(1,2),(1,2,1),(1,2),(2,1)]        \ncolumns=[(1,1,1),(3,2),(2,1),(2,1,1),(3,1),(5,)] \n\nbe sure to comment other definitions out by writing a \"#\" in front of them\n\nIMPORTANT: If there is a single block in a row, the input MUST look like this: (5,) and not (5)!\nThe latter option would be a int instead of a tuple, and be therefore not iterable --\u003e it throws an exception\n\nNOTE:\nOnly quadratic puzzles are supported, although the algorithm could solve others, too.\n\nWhen the configs are set, run Frontent.py by writing: python Frontend.py\n\nThe output could look like this:\n\nno.Rows:20, no.Columns:20  \u003c--- Number of columns and rows\n6 \u003c---Number of loops performed\nExecution time: 0.218214035034  \u003c--- Execution time in [s]\n[0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1]    \u003c--- PiCross columnwise\n[1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0]\n[1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0]\n[1, 0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1, 1, 1, 1]\n[0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1]\n[1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0]\n[0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0]\n[1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartgro%2Fpicross","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartgro%2Fpicross","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartgro%2Fpicross/lists"}