{"id":17656383,"url":"https://github.com/nwg-piotr/squarely","last_synced_at":"2025-07-02T03:02:16.486Z","repository":{"id":98647981,"uuid":"175726835","full_name":"nwg-piotr/squarely","owner":"nwg-piotr","description":"A puzzle game which utilizes the python-pyglet library.","archived":false,"fork":false,"pushed_at":"2019-09-10T22:43:30.000Z","size":182603,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T15:05:00.475Z","etag":null,"topics":["puzzle","puzzle-game","pyglet","python","python-3"],"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/nwg-piotr.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":"2019-03-15T01:29:19.000Z","updated_at":"2025-05-16T07:06:29.000Z","dependencies_parsed_at":"2023-03-13T15:57:26.539Z","dependency_job_id":null,"html_url":"https://github.com/nwg-piotr/squarely","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nwg-piotr/squarely","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwg-piotr%2Fsquarely","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwg-piotr%2Fsquarely/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwg-piotr%2Fsquarely/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwg-piotr%2Fsquarely/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwg-piotr","download_url":"https://codeload.github.com/nwg-piotr/squarely/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwg-piotr%2Fsquarely/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263066557,"owners_count":23408387,"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":["puzzle","puzzle-game","pyglet","python","python-3"],"created_at":"2024-10-23T14:31:23.996Z","updated_at":"2025-07-02T03:02:16.107Z","avatar_url":"https://github.com/nwg-piotr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# squarely\nHaving nothing better to do, I decided to give a try to the [pyglet](https://bitbucket.org/pyglet/pyglet) library, \nand the result was this puzzle game. It's currently in beta development stage, available for testing as \n[squarely](https://aur.archlinux.org/packages/squarely) in Arch Linux AUR repository.\n\n\nThe game board consists of 6 types of cells in `6 + n * 3` columns x `6 + n * 3`. Each 2 x 2 group, if contains at \nleast 3 cells, can be rotated left or right (left/right mouse click), 90 degrees in one step. 3 or more cells of the \nsame type, arranged in a horizontal row, disappear. All the cells above fall down. The game objective is to destroy all \nthe cells and unlock the next level. Next board size will be `n+3 x n+3`.\n\n![screen](http://nwg.pl/squarely/wiki/l1.png)\n\nSee the gameplay on YouTube: https://youtu.be/ZaYMBqo60Qk\n\n## Controls:\n\n- left / right click: rotate a group left or right;\n- middle click | scroller | H key: display the summary bar;\n- Escape key: exit current dialog / exit the game;\n- F key: turn FPS display on/off.\n\n## Optional argument:\n\n- `-lang ln_LN`: forces use of a certain translation strings (currently just en_EN and pl_PL available)\n\n## Runtime configuration:\n\nYou may edit the `~/.config/squarely/squarelyrc` file to set some more things:\n\n```text\n[runtime]\nforce_lang = en_EN\ndebug_mode = True\nsafe_mode = True\nshow_fps = False\n```\n\n- `debug_mode`: turns on more talkative display in the terminal;\n- `safe_mode`: tries to revert a board misbehaviour that happens when loosing animation frames; turn on on less \npowerful machines.\n\nOther files in the `~/.config/squarely` folder store local data of the player currently signed in, and preferences.\nDeletion of the `player.pkl` file results in signing the player out. All the scores should be safe on the server.\n\n## Dependencies\n\n- python\u003e=3.6;\n- python-requests;\n- python-pyglet;\n- openal;\n- avbin: optionally - to play music; Arch Linux: the AUR `avbin` package crashes, `avbin7` works well.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwg-piotr%2Fsquarely","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwg-piotr%2Fsquarely","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwg-piotr%2Fsquarely/lists"}