Borland uses a different random number sequence than Microsoft. You can
find a replacement routine in the board generator source software that
comes with FreeCell Solver. It's not trivial because you have to "map"
the card values and suits to those used by your solver. The same goes
for column assignments. I wrote a longer message sometime back on this
topic. I don't know if it was to "The Group" or not.
PS: Your description of the board layout doesn't use standard notation,
so it's unlikely anyone here will take the time to understand it.
HELSER ERIC JOSEPH wrote:
> Thanks for all the replies- here's one more puzzle for you all:
>
> Danny said "Something must have been lost in my comments about using C
> code in a C++ program. Borland handles it just fine." regarding deal
> generation.
>
> I ported Horne's code into Borland C++ 5.02 and found that when I use
> srand(1)- that's game #1, right?- I get something completely different:
>
> 34 28 32 12 40 20 23 25
> 24 37 16 3 11 44 43 50
> 48 41 45 0 15 7 46 30
> 22 33 14 21 19 13 39 51
> 31 38 8 29 42 5 36 26
> 9 2 6 35 4 47 10 27
> 17 1 18 49
>
> Shouldn't it be:
> 41 5 34 40 etc.?
>
> Is it because I'm using Borland and not Microsoft? What if I used VB6?
> I'll find a download for MS Visual C++ and see if it helps...
Received on Mon Nov 24 2003 - 14:32:24 IST