could someone tell me how to make a good ai for my texas holdem poker game
so im trying to make a poker game (texas holdem) and i dont really know how to make the ai know when to stay, fold, and raise. is there a way i could make it so if the computer has good cards then stay but if they have bad cards they fold and if they have really good cards then they raise. is there a way to do this. https://repl.it/@hadthelad/poker-Texas-holdem#main.py
You need to contact the developers of other successful poker games with this question. I think only they can answer all your questions. I am engaged in creating applications and games, but I am currently at the initial stage and will not be able to answer all your questions regarding ai. But I am studying gambling, and so far, I like the design of the game the most of all poker games https://sunpower-world.com/. She's probably one of the best. Look at the AI in this game, and maybe you will find the answer to your question.
I dont know poker.. but you use if statements
@Muffinlavania
oh thanks man