{"id":16740515,"url":"https://github.com/flopp/alcazar-gen","last_synced_at":"2025-04-10T13:22:17.714Z","repository":{"id":146399494,"uuid":"43834577","full_name":"flopp/alcazar-gen","owner":"flopp","description":"SAT-based generator for Alcazar puzzles","archived":false,"fork":false,"pushed_at":"2024-06-07T04:12:30.000Z","size":96,"stargazers_count":10,"open_issues_count":3,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T12:08:12.639Z","etag":null,"topics":["generator","minisat","puzzle","sat-solver"],"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/flopp.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":"2015-10-07T17:58:21.000Z","updated_at":"2023-01-16T22:54:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd3b2174-905c-4afe-9cc3-4c329120abf9","html_url":"https://github.com/flopp/alcazar-gen","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/flopp%2Falcazar-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flopp%2Falcazar-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flopp%2Falcazar-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flopp%2Falcazar-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flopp","download_url":"https://codeload.github.com/flopp/alcazar-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225664,"owners_count":21068078,"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":["generator","minisat","puzzle","sat-solver"],"created_at":"2024-10-13T00:59:03.340Z","updated_at":"2025-04-10T13:22:17.704Z","avatar_url":"https://github.com/flopp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alcazar-gen\nA SAT-based generator for [Alcazar](http://www.theincrediblecompany.com/alcazar-1/) puzzles.\n\n## Building\n1. Install `cmake` and `boost`.\n2. Run `make` to compile alcazar-gen\n3. done\n\n## Usage\nRun `bin/alcazar-gen WIDTH HEIGHT` to generate an Alcazar puzzle with the dimensions `WIDTH x HEIGHT`.\nWarning: generating puzzles with size \u003e 5x5 may take a considerable amount of time.\n\n```\nUsage: bin/alcazar-gen [OPTIONS]... [WIDTH HEIGHT]\nAllowed options:\n  --help                Display this help message\n  --seed arg            Set random seed\n  --solve               Solve generated puzzle\n  --template arg        Generate puzzle using the specified template file\n```\n\n## Template Files\nYou may either specify `WIDTH` and `HEIGHT` or a template file via the option `--template`.\n\nA template file for a `WxH` sized puzzle contains `(2*H+1)` lines with `(2*W+1)` of the following characters:\n   \n- `+`: an intersection of wall (just for decoration purposes) \n- `.`: a field (just for decoration purposes)\n- `|` or `-`: a fixed closed wall position (the generated puzzle will have a wall in this position)\n- `/`: a fixed open wall position (the generated puzzle will *not* have a wall in this position)\n- `?`: a possible wall position (the generated puzzle may have a wall in this position)\n\nSee the file(s) in the `templates` directory for examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflopp%2Falcazar-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflopp%2Falcazar-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflopp%2Falcazar-gen/lists"}