https://github.com/webintellectual/peg-of-solitaire-busted
https://github.com/webintellectual/peg-of-solitaire-busted
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/webintellectual/peg-of-solitaire-busted
- Owner: webintellectual
- Created: 2023-01-14T10:08:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-07T11:06:01.000Z (almost 2 years ago)
- Last Synced: 2025-02-16T14:57:37.360Z (3 months ago)
- Language: Python
- Size: 79.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## About:
![]()
Game of marble solitaire is also known as peg of solitaire. In this game we have board with 33 holes. Initially all holes are filled with marbles except the center hole.
Moves: We can pick only a marble that is 2 unit distance away from an empty hole (horizontally or vertically) and there must be a marble hole b/w this marble and the empty hole. We put this marble in the hole and remove marble (from the board) b/w the marble picked for action and the empty hole.
Objective: Finding list of moves to reach goal state of board (only one peg presenr and at center) in reasonable time.
To understand my work fully refer my medium article: https://medium.com/@warriorak77/peg-of-solitaire-game-busted-with-ai-c5f73466f8c3
## Caution
© Anyone must take permission form me and mention my social handles in
the references/attributes before using this code in their work or project.
Linkedin: https://www.linkedin.com/in/akshay-189a48200/
Twitter: https://twitter.com/notifications
Medium: https://medium.com/@warriorak77
GitHub: https://github.com/webintellectual
Website: https://akshaysworklife.bio.link/