This repo is created from improvisation in the process of understanding and learning itself.
No. | Method | Release |
---|---|---|
01 |
Back Tracking |
|
02 |
Depth First Search |
|
03 |
Breadth First Search |
Peg Solitaire is a game that consists of a board with 33 holes arranged in the pattern given in the pictures below.
At the start, every hole except the center is filled with a peg. The player then starts jumping pegs. Any peg that is jumped over is removed, just as in checkers.
Vertical and horizontal jumps are allowed, but diagonal jumps are forbidden. The goal is to reach a position where only one peg remains.
Download : https://www.python.org/downloads/
Downliad : https://code.visualstudio.com/download
Or
Download Pycharm :https://www.jetbrains.com/pycharm/download/#section=windows
Anaconda : https://docs.anaconda.com/anaconda/install/
Download my git as a ZIP file: https://github.com/BTrDung/Peg_Solitaire
python PegSolitaire.py
I really thank https://github.com/amal4joy/Peg-Solitaire and http://people.cst.cmich.edu/graha1sw/pub/pegsol/englishpegsol.pdf for helping me complete this project.