Codeworx Design Studio / Dev

Welcome to the Codeworx Design Studio Development Blog! A little place where the CX Development Dept. can post and express our thoughts!

Thursday, January 04, 2007

Solutions to the Cracker Barrel Puzzle

I was very happy to check my email the other night and find that my blog had received its very first comment. The comment was from someone asking for the solution to the Cracker Barrel Puzzle, so I’ve decided to publish all the solutions that I found when I wrote the program.

Now as a little background you must understand how to interpret the solutions, so start off by marking your puzzle as shown in the diagram below:



The reason is because there are 36 potential “moves” that are listed below:

124, 136, 247, 259, 358, 36A, 456, 421, 47B, 48D, 58C, 59E, 631, 6AF, 654, 69D, 742, 789, 853, 89A, 952, 987, A63, A98, B74, BCD, C85, CDE, DEF, D96, D84, DCB, E95, EDC, FA6, FED

For example the first rule “124” should be read: “golf tee in hole 1 should jump over tee 2 and land in hole 4”. Once you understand these rules you can quickly work through the solution.

The solution file for download contains just over 13,000 solutions in the following format:

15: DEF,69D,259,742,D84,FA6,247,36A,BCD,A98,D84,742,124,

The first number is the hole to leave a golf tee out of. In this case it should be hole 15 or on our board, hole F (15 hex is F). From that point you can work through the steps DEF, 69D, etc until you only have 1 golf tee left.

The solution file is available for download here: http://www.codeworxdesign.com/bkn/Sol-Output.txt

Enjoy working through the solutions and thank you for the comment, I encourage everyone to leave a comment and ask a question, make a suggestion or issue a challenge…

~ Bobby



5 Comments:

  • At 7:47 PM, Anonymous Anonymous said…

    I got this website from my pal who told me regarding this web site and noω thiѕ
    time I am brοwsіng this web pаge and readіng very informative content here.


    Feel free tо surf to my homеpage ... Tгeppenlifte Beratung :: :
    :

     
  • At 12:59 AM, Anonymous Anonymous said…

    Paгagгаph writіng is alѕo
    a excіtemеnt, if you bе acquaіnted ωith after
    that уοu can wrіte otherwisе іt
    is comрlex tο wгite.

    Alѕο ѵisit my webpage Luxury Watches

     
  • At 3:08 AM, Anonymous Anonymous said…

    Hellο my famіlу member!
    I wіsh to saу that this pоst is awesome, niсe wгittеn
    anԁ сome with aρproхimatelу all vitаl
    іnfos. I would liκe to loοk extra posts like
    thіѕ .

    My wеbѕite :: best cheap luxury watches online

     
  • At 5:34 PM, Anonymous Anonymous said…

    This sіtе tгulу hаs all of the information I neеded about thіѕ
    subject аnԁ ԁidn't know who to ask.

    My web blog ... cheap fishing sailboats seats online

     
  • At 11:24 PM, Anonymous Anonymous said…

    Fаѕtidіous answеr baсκ in
    return of thiѕ matter with ѕοlid argumеnts аnԁ desсribіng
    the wholе thing on thе toρiс
    of that.

    My blog рoѕt - cheap luxuгy frаgгancеs οnlinе
    ()

     

Post a Comment

<< Home