Fun! 

I just spent a while playing against the house, and formed two hypotheses 
that were confirmed when I looked at the code. One details actually affects 
the betting odds; the other doesn't: 

If the dealer had a deck of 52 and happened to flip you the 2 and A, the 
odds of losing (by getting one of the remaining 2 or A cards) should be 6 
out of 50 (12%). But the simpler random value yields higher odds of losing 
(2 in 13, or 15.4%). 

The other thing I noticed is that the draws compress toward the top of the 
deck, because you establish an eligible low-end card first, and then find a 
random value between there and the top of the range. So there are far more 
turns with a K or an A at right compared with turns with a 2 or 3 at left.

Are those the fine-tuning things you were talking about?

-Springer
On Thursday, February 11, 2021 at 4:32:21 PM UTC-5 [email protected] wrote:

> I still have some fine-tuning to do, and might do some refactoring to 
> improve the code.
>
> Good enough, though, for playing with:  
>
> The Acey Ducey Card Game à la TiddlyWiki 
> <https://intertwingularityslicendice.neocities.org/CJ_TiddlyWikiProgramming.html#Acey%20Ducey>
>
> Cheers !
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/43edc9b0-cfa5-4e68-ab80-4f3def7b01f8n%40googlegroups.com.

Reply via email to