By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,657 Members | 994 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,657 IT Pros & Developers. It's quick & easy.

peg triangle puzzle solver

P: n/a
Does anybody know where I can find the source code in C++ for an A.I. that
solves the peg triangle puzzle (for my personal interest). I am relatively
new to c++ and i found a very good program in Perl but I have no idea how to
convert that into c++.
Jul 22 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"eggie2486" <eg******@twcny.rr.com> wrote...
Does anybody know where I can find [...]


www.google.com is a good start
Jul 22 '05 #2

P: n/a
In comp.lang.c++
"eggie2486" <eg******@twcny.rr.com> wrote:
Does anybody know where I can find the source code in C++ for an A.I. that
solves the peg triangle puzzle (for my personal interest). I am relatively
new to c++ and i found a very good program in Perl but I have no idea how to
convert that into c++.


Son of a gun. I wrote a recursive solution version. I posted the code to
www.codeproject.com about a year ago or so. If you can't find it, is that
a good email addy? It is not graphical, it merely finds solutions and
outputs the order of jumps.

Jul 22 '05 #3

P: n/a

"Bruce" <br***@nospam.com> wrote in message
news:40***************@news.dallas.sbcglobal.net.. .
In comp.lang.c++
"eggie2486" <eg******@twcny.rr.com> wrote:
Does anybody know where I can find the source code in C++ for an A.I. thatsolves the peg triangle puzzle (for my personal interest). I am relativelynew to c++ and i found a very good program in Perl but I have no idea how toconvert that into c++.


Son of a gun. I wrote a recursive solution version. I posted the code to
www.codeproject.com about a year ago or so. If you can't find it, is that
a good email addy? It is not graphical, it merely finds solutions and
outputs the order of jumps.

thank you, that is exactly what i am looking for, do you remember what you
named the file?
Jul 22 '05 #4

P: n/a
In comp.lang.c++
"eggie2486" <eg******@twcny.rr.com> wrote:
Son of a gun. I wrote a recursive solution version. I posted the code to
www.codeproject.com about a year ago or so. If you can't find it, is that
a good email addy? It is not graphical, it merely finds solutions and
outputs the order of jumps.

thank you, that is exactly what i am looking for, do you remember what you
named the file?


I'll have to email you because I checked today and couldn't find the file.
It may have been codeguru.com but I didnt' see it there either. Email on
the way. It is a Visual C++ project but ANSI C++ code so should compile
under anything.
Jul 22 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.