Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Science, Math, and Philosophy
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-15-2006, 06:54 PM
hurricaneace67 hurricaneace67 is offline
Member
 
Join Date: May 2006
Posts: 45
Default Computer science java script project

if anyone could help me with this i would really appreciate it. okay so i have to make a 5 card poker game. i have it so there are 5 cards and when you click the button it deals out five random cards without repeating any cards. But now i need to do the logic for checking to see if the player wins. The hand rankings i need to do are four of a kind, flush, three of a kind, two pair, and one pair. i am stumped here. if it helps i am using an array in which each card is assigned a number. anybody have any ideas?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.