Poker game simulator (texas holdem)
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i am trying to simulate a poker game to become more familiar with matlab as i am fairly new. So far i have written code to generate the deck, and calculate the best hand a player can make out of the 2 hole cards and the 5 community cards. I now want to simulate the actual game:
- players post big blind/small blind/ante
- round of betting preflop
- round of betting on the flop, turn, and river
- players reveal thier cards and the best hand wins (i can use my hand rankings to do this)
i am unsure as to the methodology i could use to begin this, how do i tell matlab that a player can bet, check, call, or fold when the action is on the player? Any help greatly appreciated.
0 comentarios
Respuestas (1)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!