o0Zero10o Posted June 27, 2006 Share Posted June 27, 2006 Currently im ready to value off the card deck but im not to sure how to go about it... If anyone has a suggestion could you post or msg me. [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /] Thanks Link to comment https://forums.phpfreaks.com/topic/13017-poker/ Share on other sites More sharing options...
hackerkts Posted June 28, 2006 Share Posted June 28, 2006 I believe you need to provide more details, so we could helps you if we know. Link to comment https://forums.phpfreaks.com/topic/13017-poker/#findComment-50313 Share on other sites More sharing options...
o0Zero10o Posted June 28, 2006 Author Share Posted June 28, 2006 The mathematics side of the poker... Giving the spades,hearts etc... values and the rest of the deck a value.And the win side of it Royal Flush, straight, Two Pair etc... [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /] Link to comment https://forums.phpfreaks.com/topic/13017-poker/#findComment-50377 Share on other sites More sharing options...
wildteen88 Posted June 28, 2006 Share Posted June 28, 2006 Are you talking about how to play the game, or are you wanting to create a PHP Poker game? If you are aksing about how to play it then this is not the correct forum. Link to comment https://forums.phpfreaks.com/topic/13017-poker/#findComment-50417 Share on other sites More sharing options...
rshadarack Posted June 28, 2006 Share Posted June 28, 2006 I'm not quite sure, but I think (s)he's asking how to represent a card in php. The way I did it when I made a game in C++ a while back is to have the integer part be the face value and the decimal part be the suit. For example:2.1 Would be a 2 of (let's say) clubs.13.3 Would be a king of hearts.9.1 Would be a 9 of clubs.And so on.And if you aren't sure how to go about checking for wins, I don't think you're ready to make a game like poker. I would recommend trying blackjack first, if you're new to php and programming in general. Link to comment https://forums.phpfreaks.com/topic/13017-poker/#findComment-50422 Share on other sites More sharing options...
o0Zero10o Posted June 29, 2006 Author Share Posted June 29, 2006 Nevermind, ill work it out myself... Link to comment https://forums.phpfreaks.com/topic/13017-poker/#findComment-50726 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.