Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Re: Texas Hold'ems Poker Analysis Tool

by Elgon (Curate)
on Sep 06, 2002 at 14:21 UTC ( #195644=note: print w/ replies, xml ) Need Help??

in reply to Re: Texas Hold'ems Poker Analysis Tool
in thread Texas Hold'ems Poker Analysis Tool

Hi John,

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)
2. A maximum of five 'kicker' card values/pair values etc...

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."
       - Pete McCarthy, McCarthy's Bar

Comment on Re: Re: Texas Hold'ems Poker Analysis Tool
Replies are listed 'Best First'.
Re: Re: Re: Texas Hold'ems Poker Analysis Tool
by John M. Dlugosz (Monsignor) on Sep 06, 2002 at 15:58 UTC
    That actualy reminds me of one of my early attempts at programming, which I did on paper before having any real contact with a computer. It was to play blackjack. A friend had a dial-up terminal and we used it to play Zork, and then to run some BASIC/Fortran tutorials. That's all I knew, but I was hooked!

    When I really did learn how to program, it was with the manual from Radio Shack that came with their original "Pocket Computer". 1K of RAM, 24-character display.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://195644]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-10-09 07:58 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (236 votes), past polls