I wrote a Yahtzee game in JavaScript a few years back. same basic theory (in that it had to test for straights, full house, or 'n' number of 1-6 results).
I'll have to try and find the code (won't be able to look until this evening). If I can find it, I'll post it tonite. > On 11/7/06, So Kenfused <[EMAIL PROTECTED]> wrote: > > > > I am building a poker applicaiton. > > > > Has anyone dealt with determining the value of a hand? > > > > I have the feeling I am making it even more complicated than necessary. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259491 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4