{"id":22771495,"url":"https://github.com/pawel-parma/peg-solitaire","last_synced_at":"2025-07-24T00:03:12.772Z","repository":{"id":198562889,"uuid":"688492710","full_name":"Pawel-Parma/peg-solitaire","owner":"Pawel-Parma","description":"Peg solitaire game written in python","archived":false,"fork":false,"pushed_at":"2025-03-23T20:46:53.000Z","size":449,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T21:31:04.794Z","etag":null,"topics":["app","application","customtkinter","customtkinterprojects","game","game-development","gamedev","peg-solitaire","python","python-3","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pawel-Parma.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-09-07T13:08:32.000Z","updated_at":"2025-03-23T20:46:58.000Z","dependencies_parsed_at":"2023-12-23T19:06:34.527Z","dependency_job_id":"80f4d078-36bb-4629-966b-7d8452cc285a","html_url":"https://github.com/Pawel-Parma/peg-solitaire","commit_stats":null,"previous_names":["pawel-parma/peg_solitaire","pawel-parma/peg-solitaire"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pawel-Parma/peg-solitaire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pawel-Parma%2Fpeg-solitaire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pawel-Parma%2Fpeg-solitaire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pawel-Parma%2Fpeg-solitaire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pawel-Parma%2Fpeg-solitaire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pawel-Parma","download_url":"https://codeload.github.com/Pawel-Parma/peg-solitaire/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pawel-Parma%2Fpeg-solitaire/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266769494,"owners_count":23981388,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["app","application","customtkinter","customtkinterprojects","game","game-development","gamedev","peg-solitaire","python","python-3","python3"],"created_at":"2024-12-11T16:13:59.259Z","updated_at":"2025-07-24T00:03:12.724Z","avatar_url":"https://github.com/Pawel-Parma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Peg Solitaire\n\nSimple peg solitaire game written in python using customtkinter library.\n\n== Run\n    - Install dependencies\n\n    pip install -r requirements.txt\n\n    - Run the game\n\n    python -m src.main\n\n\n== Game\n\n=== Example:\n\nimage::examples/game1.png[900, 562]\n\n{empty} +\nTo get the rules of the game, click on the `Rules` button in the upper left corner.\n\nFill the board with pegs then press `Play` to start the game. +\nSelect a peg and click on the destination cell to move the peg.\n\nYou can:\n[disk]\n - restart the board by pressing the `Restart` button. +\n - save the current board by pressing the `Save` button. +\n - load a saved board by pressing the `Load` button. +\n - get solution by pressing the `Solution` button. +\n - solve the board by pressing the `Solve` button. +\n - undo the last move by pressing the `Undo` button or `ctrl + z`. +\n - redo the last move by pressing the `Redo` button or `ctrl + y`. +\n\n=== How the solution notation works:\n\nFor example let's take solution of the previously shown board: +\n\nimage::examples/game1-solution.png[900, 562]\n\n{empty} +\nWe will discuss the first move of the solution `C7D`: +\nThe first two characters `C7` represent the peg that will be moved. +\nThe last character `D` represents the direction of the move.\n\nThe direction is represented by the following characters:\n[disk]\n - `U` for up +\n - `D` for down +\n - `L` for left +\n - `R` for right +\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawel-parma%2Fpeg-solitaire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawel-parma%2Fpeg-solitaire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawel-parma%2Fpeg-solitaire/lists"}