1 / 7

Peg Solitaire Design Project

Peg Solitaire Design Project. Crystal Wettingfeld. Board Design. Board Design Showing Moves. Basic Board Design. Class Diagram. Sequence Diagram. Use Case Diagram. Design Details. Used Depth First Search Simple and thorough idea Can be undone if not correct solution

kiana
Télécharger la présentation

Peg Solitaire Design Project

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Peg Solitaire Design Project Crystal Wettingfeld

  2. Board Design Board Design Showing Moves Basic Board Design

  3. Class Diagram

  4. Sequence Diagram

  5. Use Case Diagram

  6. Design Details • Used Depth First Search • Simple and thorough idea • Can be undone if not correct solution • Uses recursive functions and backtracking • Solve() • if valid move not removed • add Step • else • remove Step and repeat • if board is unsolvable • create new board • if solved • stop program

  7. Sources • Bell, George. "George Bell's Triangular Peg Solitaire Page." Yahoo! GeoCities: Get a free web site with easy-to-use site building tools. 31 Mar. 2009 <http://www.geocities.com/~gibell/pegsolitaire/tindex.html>. • Darby, Gary. "Peg Solitaire Game." DelphiForFun Home. 31 Mar. 2009 <http://www.delphiforfun.org/Programs/PegSolitaire.htm>. • Do, Chuong. "Satisfiability and Peg Solitaire." Stanford Artificial Intelligence Laboratory. 31 Mar. 2009 <http://ai.stanford.edu/~chuongdo/satpage/index.html>. • Graham, Sidney.College of Science and Technology :: Central Michigan University. 31 Mar. 2009 <http://www.cst.cmich.edu/users/graha1sw/Pub/PegSol/EnglishPegSol.pdf>. • Martinoli, Paolo. "CodeProject: Solitaire Puzzle with Backtracking. Free source code and programming help." CodeProject. Free source code and programming help. 31 Mar. 2009 <http://www.codeproject.com/KB/cpp/SolitairePuzzle.aspx?display=Print>.

More Related