This is a fully functional blackjack simulator with several user modifiable options (i.e. number of decks in use, game speed, initial bankroll, etc). The simulator will suggest the player's appropriate course of action for each decision based on the card count.
I wrote this to be able to determine the long term ramifications of proper blackjack play. So, there's an autoplay option that will play each hand ideally. Also, the bet size can be automated to increase as the odds move in the player's favor. At the game's end, the results of the session are plotted.
Known limitations:
The player can only split once
The game tends to slow down as the number of hands played goes up.
Cita come
Michael Iori (2024). Blackjack (https://www.mathworks.com/matlabcentral/fileexchange/18688-blackjack), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Riconoscimenti
Ispirato da: cardplot.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |