|Think about Loose Coupling|
Re: Re: Texas Hold'ems Poker Analysis Toolby Elgon (Curate)
|on Sep 06, 2002 at 14:21 UTC||Need Help??|
Thanks for the reply: This is one of the boneheadednesses of which I spoke in the original post. Ah, stupidity knows no bounds! In this case, there will only ever be a maximum of 6 elements in the array:
1. The ranking of the hand (1 element)
NB - It is important that, in the case that fewer kickers/values being required, the others are set to zero or anulled. I guess that the array slice assignation is probably best. Ta.
I'd already thought of combining all the players into an array (as this would definitely be a good way ultimately to cut down on code-length) but I'd not got around to incorporating it into the code yet as I'm trying to teach myself C at the moment and I'm just about getting to grips with pointers.
"Rule #17 of Travel: Never try and score dope off Hassidic Jews while under the impression that they are Rastafarians."