That is some might fine sleuthing.

I was going to do a check of my TiddlyWiki code to make sure I stayed true 
to the Basic language code.  Wherever I didn't, then I want to either alter 
my code to match, or note the discrepancy.  (I veered off the original code 
as I got a little tired of those "GOTO's" in the Basic code.)

First thing on my list: handling of no more $cash (i.e. start over again 
with $100) and ability to "reset" at anytime.)  Well, I'm now thinking of 
tinkering with the way first and third cards are chosen...

One thing I rather like:  if you save the TiddlyWiki, the game is right 
back where you left off the next time you open the TiddlyWiki.




On Friday, February 12, 2021 at 9:39:24 PM UTC-4 springer wrote:

> 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/f2f9f7a5-8aa4-476d-ac0b-ba641878a00cn%40googlegroups.com.

Reply via email to