{"id":23897675,"url":"https://github.com/omerkel/peg-solitaire","last_synced_at":"2025-11-13T23:03:05.503Z","repository":{"id":23920339,"uuid":"27300885","full_name":"OMerkel/Peg-Solitaire","owner":"OMerkel","description":"A Peg Solitaire with various popular board shapes.","archived":false,"fork":false,"pushed_at":"2023-08-04T15:22:14.000Z","size":3405,"stargazers_count":11,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-04T17:17:07.333Z","etag":null,"topics":["entertainment","games","mobile","mobile-app","mobile-game","peg-solitaire","single-player","single-player-game","solitaire","solitaire-game"],"latest_commit_sha":null,"homepage":"http://omerkel.github.io/Peg-Solitaire/html5/src","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OMerkel.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}},"created_at":"2014-11-29T12:03:42.000Z","updated_at":"2023-09-25T09:00:31.000Z","dependencies_parsed_at":"2022-08-27T02:32:40.802Z","dependency_job_id":null,"html_url":"https://github.com/OMerkel/Peg-Solitaire","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OMerkel%2FPeg-Solitaire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OMerkel%2FPeg-Solitaire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OMerkel%2FPeg-Solitaire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OMerkel%2FPeg-Solitaire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OMerkel","download_url":"https://codeload.github.com/OMerkel/Peg-Solitaire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240286512,"owners_count":19777354,"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":["entertainment","games","mobile","mobile-app","mobile-game","peg-solitaire","single-player","single-player-game","solitaire","solitaire-game"],"created_at":"2025-01-04T17:17:10.790Z","updated_at":"2025-11-13T23:03:05.441Z","avatar_url":"https://github.com/OMerkel.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"Peg Solitaire icon\" width=\"64\" src=\"html5/src/img/icons/pegsol128.png\" /\u003e Peg-Solitaire\n=============\n\n* \u003cem\u003eStart an online\u003c/em\u003e \u003cb\u003ePeg Solitaire\u003c/b\u003e \u003cem\u003esession on\u003c/em\u003e http://omerkel.github.io/Peg-Solitaire/html5/src\n* \u003cem\u003eAndroid APK available for install\u003c/em\u003e \u003cimg align=\"top\" width=\"32\" src=\"res/android.gif\" /\u003e https://github.com/OMerkel/Peg-Solitaire/releases\n* \u003cem\u003eRuns in various browsers on\u003c/em\u003e\n    * \u003cem\u003edesktop systems like BSDs, Linux, Win, MacOS and\u003c/em\u003e\n    * \u003cem\u003emobile platforms like Android, FirefoxOS, iOS.\u003c/em\u003e\n\nA \u003cb\u003ePeg Solitaire\u003c/b\u003e with various popular board shapes.\nThe mind bending puzzle of Peg Solitaire is well-known using\ndifferent board shapes and different amount of holes for\nplacing the pegs. The common mechanics is that a selected\npeg is capable to jump any directly adjacent single neighbour\nin straight direction onto a free position. A peg is removed\nas it gets jumped. The selected peg will end its move just on\nthe first free field behind the peg that gets removed then.\n\n\u003cimg src='http://omerkel.github.io/Peg-Solitaire/html5/src/img/jump.svg' width='30%' /\u003e\n\nSupported board shapes include\n\n* triangular 15 peg positions (also called triangular 5),\n* triangular 21 peg positions (also called triangular 6),\n* English board, and\n* French board.\n\nIn this \u003cb\u003ePeg Solitaire\u003c/b\u003e you first select one of the board positions\nto be a single vacancy as a starting position.\n\nBy jumping the total number of pegs is reduced one by one then until a\nsingle peg is remaining. This class of challenges are referred to as\n\u003cem\u003esingle vacancy to single survivor challenges\u003c/em\u003e. All possible\nstarting positions of a \u003cem\u003e15 hole triangular board shape\u003c/em\u003e do\ndefinitively allow to finally end up with just one peg remaining on\noptimal strategy.\n\nIf the single vacancy position matches the position of the survivor\nthese challenges are called a \u003cem\u003ecomplement challenge\u003c/em\u003e. As a\ntough task you might find out which vacancies do not allow a\ncomplement challenge.\n\nConsecutive jumps with same peg could be performed depending on the\nboard situation obviously. Such chained jumps could be seen as a\nsingle move. The question arises to find the best solutions with\nminimum amount of moves then.\n\nFeel free to find all possible solutions for these different kind of challenges.\n\n# Contributors / Authors\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cp\u003eOliver Merkel,\u003cbr /\u003e\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\"\u003e\u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"http://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png\" /\u003e\u003c/a\u003e\u003cbr /\u003eThis image is licensed under a \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\"\u003eCreative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License\u003c/a\u003e.\n    \u003c/p\u003e\n    \u003c/td\u003e\n    \u003ctd width=\"30%\"\u003e\u003cimg width=\"100%\" ondragstart=\"return false;\" alt=\"Oliver Merkel, Creative Commons License, This image is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.\" src=\"html5/src/img/oliver-altenahr-230708.jpg\" /\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n_All logos, brands, and trademarks mentioned belong to their respective owners._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomerkel%2Fpeg-solitaire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomerkel%2Fpeg-solitaire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomerkel%2Fpeg-solitaire/lists"}