Hello Shlomi,
Saturday, May 26, 2007, 10:41:15 PM, you wrote:
> FreecellTool has an awful interface. Please look at Freecell Pro for a much
> better one:
> http://www.rrhistorical.com/rrdata/Fcpro65/
> You can find its source code here:
> http://fc-solve.berlios.de/don_woods.html
I knew about Freecell pro, but it looks so complicated (the source code, because it's implement too many solver and for too many games),
can you tell me which algorithm (solver) is the easiest to implement ? :)
The Woods-Callan-Ettlinger Solver (FcPro original)
Freecell Solver by Shlomi Fish
Actually, for your solver, what kind of input are required ? Arrays of the cards positions ?
And it'll give us something like the one from freecell pro?
And btw, I was looking at FreecellTool mainly because it could hook itself to the game window :)
> And naturally, if you want to know to really know how everything, works - read
> the source code. ANSI C is very similar to Pascal, except from a few key
> differences in syntax mostly. You can always call an external library (such
> as Freecell Solver) from Pascal by at most writing some wrapper functions. So
> you don't need to implement everything yourself.
Hmm, how to do that ? :D
I tried to google it with this query "c wrapper function for pascal" is that right?
Or maybe you have some great links for that topic?
> If you have access to a C compiler for Windows, such as MS DevStudio, GNU gcc
> (an excellent, freely available, open-source one), or Borland C++, then you
> can easily build Freecell Solver (or any other Freecell-solving library and
> use it). The source code and binaries for Freecell Solver are available under
> the Public Domain, and as such have no restrictions whatsoever on their use.
I got your freecell solver source code. I'll try to understand how it's work tomorrow :D
Jeez, I guess my brain doesn't work as good as it was anymore since it's been 4 years since the last time I wrote a program :D
Anyway. Thanks heaps!
--
Best regards,
TinxMilis mailto:tinxmilis_at_gmail.com
Received on Sat May 26 2007 - 08:27:59 IDT