-
texas holdem
Hey, here is a program that deals 5 community cards and 2 private cards to two players then says which player wins. I am trying to change it so that there are text boxes that i can type the value in of the cards, as say s3, h7, dk, ca etc. It converts this string to whatever type of value it uses for the cards and says which hand is better.
But i cant do it.
I have tried and almost died but nothing.
Please can someone try this so that i can see where i was going wrong.
Also, if you get a chance, can you change the weight ( you'll see what i mean) to a percentage, and in its own trext box. Thanks
Alex
-
1 Attachment(s)
Re: texas holdem
Sorry, fogot to upload...
-
1 Attachment(s)
Re: texas holdem
-
Re: texas holdem
Make a UDT containing the code of a card and it's value.
Make an array of this type with room for all cards.
Fill that array the right data.
Enter a code.
Look for the card with that code in the array.
Retrieve the value of that card.