|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
[Blackjack] Shuffling
The shuffling of the decks will be shuffled randomly or it will simulate some specific shuffling method (in the final version of the blackjacklib.php)?
For example: Quote:
|
|
#2
|
|||
|
|||
|
[Blackjack] RE: Shuffling
The cards will be shuffled randomly as in the testing lib (i.e. the whole deck will be shuffled together, but not necessarily with shuffle()).
Does it matter? |
|
#3
|
|||
|
|||
|
[Blackjack] RE: Shuffling
Thanks.
|
|
#4
|
|||
|
|||
|
[Blackjack] RE: Shuffling
There are probability theories depending on the shuffling methods. For example see Knuth: The art of computer programming. Vol 2. pg p145-148.
He explains for a certain shuffling method that not all the permutation of the cards will occure. |
|
#5
|
|||
|
|||
|
[Blackjack] RE: Shuffling
|
|
#6
|
|||
|
|||
|
[Blackjack] RE: Shuffling
The cards will be random, and practically any of the permutations could appear.
This means that no shuffling prediction algoritm should be used. Thanks for the info. |
|
#7
|
|||
|
|||
|
[Blackjack] RE: Shuffling
But will you use the same shuffled deck for everyone ?
Or everyone will get a different one? |
|
#8
|
|||
|
|||
|
[Blackjack] RE: Shuffling
Yup, as the rules say, every script will get exactly the same conditions.
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [Blackjack] Shuffling |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|