Question? How are the hands generated ??

Started by riderfan1, December 30, 2009, 10:22:56 pm

Previous topic - Next topic

riderfan1

And why isn't a random card generator used?  One team getting 4 NT cinch hands along with the 3 , in a row makes for a VERY boring game

K.C. Magic Data

So if you flip a coin 100 times are you saying that it will land 50 times heads and 50 times tails?
Because in reality that is what you are implying when you ask why 1 team can end up with a good hand 4 times in a row. Random is just that.... its Random and has no pattern...

Its easier for me as a programmer to use a randomizer then it is to write code to determine how the cards will be delt and to which players and how often.

Here is code taken from the shuffle of the Kaiser cards

For C = 1 To 1303 ''mix the cards up 1303 times
Randomize
R1 = Int(32 * Rnd): R2 = Int(32 * Rnd) ''''''(0 to 31)

the above code generates 2 random #'s from 0 to 31 then swaps them in the deck.
It does that 1303 times. its called a "Bubble Sort" ive been using it since Kaiser I back in the early 1990's





Kevin S Currie

riderfan1

If you check my question again you will see that I said I preferred a random generator.  My question was asked because After playing here and also with real people in real time with real cards; I have seen more "weird hands" here than in real life.  But yes Using a random gen. then any combination can and WILL eventually occur.  Maybe I am just  randomly getting all those hands . Thank you for taking the time to answer.