Blackjack

Fully functional blackjack simulator

Ahora está siguiendo esta publicación

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.

Citar como

Michael Iori (2026). Blackjack (https://la.mathworks.com/matlabcentral/fileexchange/18688-blackjack), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspirado por: cardplot.m

Categorías

Más información sobre Card games en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0