PDA

View Full Version : Simple question about PS Dealing Software..


07-22-2002, 12:13 AM
i asked the operator of a different site this question 2 weeks ago, and i am still waiting to hear back the response.. i seemed to have dumbfounded him.


i know that different sites have different defaults.


my question is, does the software burn & turn in stud and holdem, or just turn??


i'm used to rabbit hunting in B&M, and just want to know which card was gonna be mine if i fold.


do NOT jump to the conclusion that they all burn, because they do not.


thx for your help

07-22-2002, 04:40 AM
a computer "deck of cards" isn't in any order before the next card is "dealt"


as a card is dealt its value is removed from the deck


then the computer selects randomly from the deck of the 51 possibilities left, and so on


it does not "shuffle" the cards into a set order before any card is dealt, so burning is a pointless safeguard in computer-generated dealing

07-22-2002, 05:10 AM
"i asked the operator of a different site this question 2 weeks ago, and i am still waiting to hear back the response.. i seemed to have dumbfounded him."


You dumbfounded him alright. Actually, the guy is probably too busy sending your email around to his support buddies to respond to you.


Wait, oh....I fell for it. You can't really be this stupid.


Adam.

07-22-2002, 11:59 AM
yes adam, sorry to say that i am,


and i certainly appreciate your constructive feedback.


must be nice being so unbeleivably knowledgeable..

i envy you, i really really do..


Mike, thx for the explanation, and it makes sense...


However, i am not sure if it answers my question, as i have been told by one site operator that the cards ARE arranged in a "virtual" 52 card stack before they are dealt.. much like they are in video poker games at casinos..


oh, and self-appointed, esoteric-God, smartasses need not reply, i'm just trying to get an answer, not comments on my stupidity.

07-22-2002, 12:00 PM
There are several ways it could be done. Each card could be selected at random as you said.

Another way is that the "deck" (actually an array) could be "shuffled" (put into a random order) once before the deal starts and "dealt" in order. In any case, there is little point to burning cards. Cards are burned in live games primarily as a safeguard in case someone has gotten a peak at the next card, or the next card is marked. This just doesn't apply in a computer game.

07-22-2002, 12:03 PM
understood CORed.. but to completely "simulate" B&M, one site i know does indeed have a burn..


it is apparently the only one though from what i gather.. thx for the input

07-22-2002, 01:11 PM
no doubt you are right, CORed, but when i write programmes i go for simplicity, and it is far simpler to randomly select one card at a time as needed rather than do a whole deck shuffle


take heads-up, for example, where you might only need 4 cards to be randomly selected - that demonstrates the benefit of a simple programme - a full deal is then merely an extension of this

07-22-2002, 04:29 PM
I think it's pretty much a wash as far as simplicity goes. If you want to shuffle a whole deck, you just put your selection into a loop. It takes a few more nanoseconds of computer time than just selecting the cards you need. Either way, you can "burn" a card if you want to. You can randomly select a burn card, or "burn" the next card of the "deck". However, unless you are fanatical about making it just like a live game there is no real reason to burn cards. It doesn't change the probability of getting a particular card and wastes a few processor cycles.