473,378 Members | 1,119 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

peg triangle puzzle solver

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
4 2267
"eggie2486" <eg******@twcny.rr.com> wrote...
Does anybody know where I can find [...]


www.google.com is a good start
Jul 22 '05 #2
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

"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Aaron | last post by:
I am trying to write a Python script file which analyses data in an iterative manner. During each iteration, I wish to utilise the Solver function in Excel to perform some constrained, non-linear...
27
by: Alf P. Steinbach | last post by:
I'm writing a little piece on pointers, to be "bundled" with my attempted correct C++ tutorial (see FAQ item 29.20, yes, I've finally started to at least think about that again), and while thinking...
3
by: Mr.Doubt | last post by:
I'm trying to run a Excel macro, which uses SOLVER.XLA Add-In, in VB.NET application. When the macro is executed I get the following error message "Solver: An unexpected internal error occured,...
5
by: singhm | last post by:
Hi guys so I have a trianlge program having hard time finishing this though, I have to develop a program which is the following: Write a program that will allow the user to enter the 3 lengths...
7
by: Holger Fitschen | last post by:
Hi to all, I want to use the Excel solver in a VB.Net project. The macro Sub Makro1Solver() Application.Run "Solver.xla!Auto_Open" SolverReset Worksheets(1).Select...
6
by: Phoe6 | last post by:
Hi All, I would like to request a code and design review of one of my program. n-puzzle.py http://sarovar.org/snippet/detail.php?type=snippet&id=83 Its a N-puzzle problem solver ( Wikipedia page...
3
by: akristensen | last post by:
I am new to this site, so be patient if I do not ask the question correctly. Current Target Platform: Browser: MS IE, script language: Javascript (will use VBScript, but JS is preferred), External...
19
by: lost1 | last post by:
Can someone point me in the right direction on how to get the triangle type to display. Below is a triangle class that is tested by another completely separate class. The main method of the test...
6
by: jackj | last post by:
Hi, I am first time C++ student and doing the usual tasks. This one is to create a triangle based on user input of how large (how many rows) and what symbol to use. I have managed to create a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.