blackjack.m
No License
"Blackjack 5.1" is a BlackJack card game for MATLAB. This is a very basic (head-on) Blackjack game with six decks of cards. You cannot split pairs (maybe in the future) in this game, but you can double up and make insurance bets.
You can check the current running and true card count (balanced counting system) in the chip selection dialg to see when it is time to bet high or low.
%%%%%%%%%%%
Note!!!
This game requires the Playing Cards Toolbox FileId: 7963.
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=7963&objectType=FILE
!!!
Next version will probably enable the player to split. Any feedback about this game is very welcome.
Developed in Matlab 5.1.
also check: http://www.etek.chalmers.se/~e8rasmus/eng/matlab_programs.html
Cite As
Rasmus Anthin (2025). blackjack.m (https://www.mathworks.com/matlabcentral/fileexchange/3846-blackjack-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Trails, cardplot.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Wrong gameplay algorithm (wasn't really blackjack). Now it works as proper blackjack though splitting is not allowed (not yet). |