in reply to Re: Generating all 5-card hands
in thread Generating all 5-card hands
In cribbage, order is important contrary to what thor said earlier. The position of 1 card determines its eligibility for "right-jack" so there really are 12,994,800 hands that need to be considered. Even still, it is possible to both generate and score all those hands in under 15 minutes using pure perl. This would encompass everything thor wanted to do and a lot more.
Cheers - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Generating all 5-card hands
by thor (Priest) on Mar 31, 2006 at 22:40 UTC |