blackjack.m

Blackjack 5.1 is a basic 6 deck blackjack game (no splitting).
6.3K Downloads
Updated 11 Jul 2005

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 (2024). blackjack.m (https://www.mathworks.com/matlabcentral/fileexchange/3846-blackjack-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Card games in Help Center and MATLAB Answers
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!
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).