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