At first I have 5 cards by random, of course. Only one time I can change and also l have already taught [the program] the poker rules in my system. My problem is how can I choose "I don't need this card or there are cards?". I can change by myself but computer doesn't know. I think maybe it is difficult but have you guys any help to offer?
Take a look at How I Built a Working Poker Bot Series (Parts 1, 2, 3, 4, 5, 6, 7, 8) which has great information for getting started in poker botting.
Specifically take a look at Part 8 which goes into detail on how to evaluate hand value. What you'll want to do is statistically evaluate the cards in the hand and from there determine which cards have the highest probability of scoring a winning hand. You can then discard the cards you don't need.
How about getting in touch with The University of Alberta Computer Poker Research Group?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With