I developed this game for my AP Computer Science Principles create project. Various balanced card-counting methods are available to select and are updated throughout the play so that the player can check his card-counting skills. The game calculates exact win probabilities and win odds during play so that the player can see how their counting system correlates with the most probable action to take. A suggested bet amount is provided based on the current counting system being used. This game allows for a mandatory dealer hit on a soft seventeen or not, allows the selection of multiple decks, selection of initial player bankroll, and the selection of minimum and maximum bets allowed. The game allows doubling only on a combined player hand holding nine, ten, or eleven and then only allows a single hit following the double. The game allows only a single split and aces that are split are only allowed a single additional card. The games allows insurance bets for 1/2 the current bet amount that pay 2:1 when the dealer shows an ace. Player blackjacks pay 1.5:1. The player can move back and forth from displaying win probabilities and win odds using the 'P/O' button. Hope you have fun playing.
引用格式
David Hill (2024). BlackJack GUI (https://www.mathworks.com/matlabcentral/fileexchange/71349-blackjack-gui), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |