blackjack.m

Blackjack 5.1 is a basic 6 deck blackjack game (no splitting).

You are now following this Submission

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

Acknowledgements

Inspired by: Trails, cardplot.m

Categories

Find more on Card games in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Wrong gameplay algorithm (wasn't really blackjack). Now it works as proper blackjack though splitting is not allowed (not yet).