The stupid question is the question not asked | |
PerlMonks |
Re: Generating all 5-card handsby 5mi11er (Deacon) |
on May 18, 2005 at 20:48 UTC ( [id://458435]=note: print w/replies, xml ) | Need Help?? |
Forget brute force, using logic to try to create a hand that has no points:
this elminates all possible hands. -Scott Update: L~R beat me to what this essentially boils down to up in this node posted just before I'd managed to finish mine.
In Section
Seekers of Perl Wisdom
|
|